Blame SOURCES/autofs-5.1.4-add-units-After-line-to-include-statd-service.patch

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