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

306fa1
autofs-5.1.4 - add units After line to include statd service
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
autofs needs to ensure statd is started before any NFS mounts
306fa1
are attempted. This is because if the first NFS mount starts
306fa1
the service and the mount is an automounted directory that is
306fa1
included in the PATH used by systemctl (eg. /usr/local/bin)
306fa1
the mount cannot complete.
306fa1
306fa1
Add rpc-statd.service to the unit "After=" line to try and
306fa1
ensure it is started before automount.
306fa1
306fa1
Signed-off-by: Ian Kent <raven@themaw.net>
306fa1
---
306fa1
 CHANGELOG                 |    1 +
306fa1
 samples/autofs.service.in |    2 +-
306fa1
 2 files changed, 2 insertions(+), 1 deletion(-)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -299,6 +299,7 @@
306fa1
 - dont allow trailing slash in master map mount points.
306fa1
 - fix fd leak in rpc_do_create_client().
306fa1
 - add man page note about extra slashes in paths.
306fa1
+- add units After line to include statd service.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/samples/autofs.service.in
306fa1
+++ autofs-5.0.7/samples/autofs.service.in
306fa1
@@ -1,6 +1,6 @@
306fa1
 [Unit]
306fa1
 Description=Automounts filesystems on demand
306fa1
-After=network.target ypbind.service sssd.service network-online.target remote-fs.target
306fa1
+After=network.target ypbind.service sssd.service network-online.target remote-fs.target rpc-statd.service rpcbind.service
306fa1
 Wants=network-online.target rpc-statd.service rpcbind.service
306fa1
 
306fa1
 [Service]