ralphlange / procServ

Wrapper to start arbitrary interactive commands in the background, with telnet or Unix domain socket access to stdin/stdout
GNU General Public License v3.0
23 stars 23 forks source link

procServUtils and autofs #54

Open mdavidsaver opened 3 years ago

mdavidsaver commented 3 years ago

From https://epics.anl.gov/tech-talk/2021/msg01435.php

https://github.com/ralphlange/procServ/blob/cd68a34da12ec156c4126932b62947ee195b6210/procServUtils/generator.py#L27-L28

There is currently no dependency on autofs.service, so attempts to run executables from an autofs mounted location may sporadically fail on boot.

The autofs.service unit from https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/ contains

After=network.target ypbind.service sssd.service network-online.target remote-fs.target \
 rpc-statd.service rpcbind.service
Wants=network-online.target rpc-statd.service rpcbind.service

So it is clearly not part of the remote-fs.target.

mdavidsaver commented 3 years ago

I think it would be enough to add After=autofs.service.