autofs-5.1.4 - add units After line to include statd service From: Ian Kent autofs needs to ensure statd is started before any NFS mounts are attempted. This is because if the first NFS mount starts the service and the mount is an automounted directory that is included in the PATH used by systemctl (eg. /usr/local/bin) the mount cannot complete. Add rpc-statd.service to the unit "After=" line to try and ensure it is started before automount. Signed-off-by: Ian Kent --- CHANGELOG | 1 + samples/autofs.service.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1e11c3d5..b9925cf7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,6 +22,7 @@ xx/xx/2018 autofs-5.1.5 - improve hostname lookup error logging. - fix rpm spec install premissions on auto.net and auto.smb. - tiny patch for autofs typo and possible bug. +- add units After line to include statd service. 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/samples/autofs.service.in b/samples/autofs.service.in index 918fc93c..766fc5a5 100644 --- a/samples/autofs.service.in +++ b/samples/autofs.service.in @@ -1,6 +1,6 @@ [Unit] Description=Automounts filesystems on demand -After=network.target ypbind.service sssd.service network-online.target remote-fs.target +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 [Service]