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

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