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

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