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

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