|
|
d5dcad |
autofs-5.1.4 - add units After line to include statd service
|
|
|
d5dcad |
|
|
|
d5dcad |
From: Ian Kent <raven@themaw.net>
|
|
|
d5dcad |
|
|
|
d5dcad |
autofs needs to ensure statd is started before any NFS mounts
|
|
|
d5dcad |
are attempted. This is because if the first NFS mount starts
|
|
|
d5dcad |
the service and the mount is an automounted directory that is
|
|
|
d5dcad |
included in the PATH used by systemctl (eg. /usr/local/bin)
|
|
|
d5dcad |
the mount cannot complete.
|
|
|
d5dcad |
|
|
|
d5dcad |
Add rpc-statd.service to the unit "After=" line to try and
|
|
|
d5dcad |
ensure it is started before automount.
|
|
|
d5dcad |
|
|
|
d5dcad |
Signed-off-by: Ian Kent <raven@themaw.net>
|
|
|
d5dcad |
---
|
|
|
d5dcad |
CHANGELOG | 1 +
|
|
|
d5dcad |
samples/autofs.service.in | 2 +-
|
|
|
d5dcad |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
d5dcad |
|
|
|
d5dcad |
--- autofs-5.1.4.orig/CHANGELOG
|
|
|
d5dcad |
+++ autofs-5.1.4/CHANGELOG
|
|
|
d5dcad |
@@ -21,6 +21,7 @@ xx/xx/2018 autofs-5.1.5
|
|
|
d5dcad |
- add an example fedfs master map entry to the installed master map.
|
|
|
d5dcad |
- improve hostname lookup error logging.
|
|
|
d5dcad |
- tiny patch for autofs typo and possible bug.
|
|
|
d5dcad |
+- add units After line to include statd service.
|
|
|
d5dcad |
|
|
|
d5dcad |
19/12/2017 autofs-5.1.4
|
|
|
d5dcad |
- fix spec file url.
|
|
|
d5dcad |
--- autofs-5.1.4.orig/samples/autofs.service.in
|
|
|
d5dcad |
+++ autofs-5.1.4/samples/autofs.service.in
|
|
|
d5dcad |
@@ -1,6 +1,6 @@
|
|
|
d5dcad |
[Unit]
|
|
|
d5dcad |
Description=Automounts filesystems on demand
|
|
|
d5dcad |
-After=network.target ypbind.service sssd.service network-online.target remote-fs.target
|
|
|
d5dcad |
+After=network.target ypbind.service sssd.service network-online.target remote-fs.target rpc-statd.service rpcbind.service
|
|
|
d5dcad |
Wants=network-online.target rpc-statd.service rpcbind.service
|
|
|
d5dcad |
|
|
|
d5dcad |
[Service]
|