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

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