[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly
From: |
Maxim Cournoyer |
Subject: |
bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly |
Date: |
Sun, 08 Mar 2020 00:39:57 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Ludovic Courtès <address@hidden> writes:
> Hi,
>
> Maxim Cournoyer <address@hidden> skribis:
>
>> The rpc.mountd service, one of the required services for
>> nfs-service-type, respawns the process quickly until disabled.
>
> Does /var/log/messages contain hints? Is rpc.statd running?
> Could it be that all these services need to depend on ‘loopback’?
>
> No answers, but a lot of questions. :-)
>
> Ludo’.
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).
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).
Maxim
0001-doc-Note-that-make-forkexec-constructor-requires-a-n.patch
Description: Text Data
signature.asc
Description: PGP signature
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/07
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/07
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/07
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/07
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Ludovic Courtès, 2020/03/08
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/08
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Ludovic Courtès, 2020/03/08
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Ricardo Wurmus, 2020/03/08
- bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly, Maxim Cournoyer, 2020/03/08
bug#39708: nfs-service-type broken: rpc.mountd respawns too quickly,
Maxim Cournoyer <=