Blame SOURCES/autofs-5.1.3-fix-mount_nfs-blocks-on-first-mount.patch

304803
autofs-5.1.3 - fix mount.nfs blocks on first mount
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
The first time an NFS mount is tried mount.nfs tries to start rpc.statd
304803
using systemctl. If /usr/local is being used to provide automounts in
304803
that directory the first mount will hang becuase some directories under
304803
/usr/local are included in the path used by systemctl.
304803
304803
Add rpc-statd.service (and for good measure rpcbind.service) to the
304803
autofs Wants line in the unit file to work around this.
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
@@ -252,6 +252,7 @@
304803
 - add congigure option for limiting getgrgid_r() stack usage.
304803
 - fix unset tsd group name handling.
304803
 - set systemd KillMode to process.
304803
+- fix mount.nfs blocks on first mount.
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,7 +1,7 @@
304803
 [Unit]
304803
 Description=Automounts filesystems on demand
304803
 After=network.target ypbind.service sssd.service network-online.target remote-fs.target
304803
-Wants=network-online.target
304803
+Wants=network-online.target rpc-statd.service rpcbind.service
304803
 
304803
 [Service]
304803
 Type=forking