procServ icon indicating copy to clipboard operation
procServ copied to clipboard

procServUtils and autofs

Open mdavidsaver opened this issue 3 years ago • 1 comments

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 avatar Aug 03 '21 18:08 mdavidsaver

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

mdavidsaver avatar Aug 03 '21 18:08 mdavidsaver