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

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