From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH] services: Add opensmtpd-service. Date: Sun, 27 Nov 2016 10:22:35 +0800 Message-ID: <87wpfpek5w.fsf@member.fsf.org> References: <20161119072920.17518-1-iyzsong@gmail.com> <8760nd4yxw.fsf@gnu.org> <87r3616ka6.fsf@member.fsf.org> <87k2bqnl9y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAp7T-00067q-MZ for guix-devel@gnu.org; Sat, 26 Nov 2016 21:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAp7P-0006WU-6K for guix-devel@gnu.org; Sat, 26 Nov 2016 21:23:07 -0500 Received: from smtp24.openmailbox.org ([62.4.1.58]:48872 helo=smtp9.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cAp7P-0006Vs-0d for guix-devel@gnu.org; Sat, 26 Nov 2016 21:23:03 -0500 In-Reply-To: <87k2bqnl9y.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 26 Nov 2016 19:33:45 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > >> Also, I find that my slow box is unable start this opensmtpd service >> during a fresh boot. =E2=80=98smtpd=E2=80=99 has a timeout of 10s hardc= oded, I patched >> that to 60s to make it fully start. But it turns out that >> =E2=80=98read-pid-file=E2=80=99 of shepherd has a timeout of 5s, so I gu= ess that=E2=80=99s why >> the service is marked as stop when it actually running=E2=80=A6 > > Oh that sounds like a bug: shepherd should kill(2) the process when the > PID file doesn=E2=80=99t show up on time. > > Fixed in commit a8fa86bb23cc457e2cd603ad505c964bc8dc889e of the > Shepherd. > > The previous commit allows you to select a timeout other than 5 seconds > too=E2=80=94wonderful. ;-) > Cool, thanks!