From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly Date: Sun, 08 Mar 2020 12:21:32 +0100 Message-ID: <87r1y3ccsj.fsf@gnu.org> References: <878skw382o.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me> <87a75azxu2.fsf@gnu.org> <87lfob5rrm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40538) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAu0R-0000tS-AG for bug-guix@gnu.org; Sun, 08 Mar 2020 07:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAu0Q-0002hp-DT for bug-guix@gnu.org; Sun, 08 Mar 2020 07:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAu0Q-0002hl-Aa for bug-guix@gnu.org; Sun, 08 Mar 2020 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAu0Q-0004EK-6e for bug-guix@gnu.org; Sun, 08 Mar 2020 07:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lfob5rrm.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 08 Mar 2020 00:39:57 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 39708@debbugs.gnu.org Maxim Cournoyer skribis: > OK, I've managed to find the problem. rpc.mountd daemonizes itself upon > starting by default, which is not supported by Shepherd (at least not > its `make-forkexec-constructor' procedure). I had to pass the > '--foreground' option to workaround this limitation (c.f.: commit > 5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495). Great! (I had replied earlier before seeing this message.) > It'd be interesting to see what systemd does when a service is hinted as > forking in its configuration file. We should also document that > limitation in the Shepherd info manual (see attached patch for > Shepherd). Good idea. I pushed a slightly different version as Shepherd commit 3bc4a9c96c76abf78c76d71d42536e62ea173b21. Thanks, Ludo=E2=80=99.