Blame SOURCES/nfs-utils-1.3.0-systemd-idmapd-varlib.patch

e19a30
commit 6efdb0440daf3ed304a3c1115f01e76e89d792a7
e19a30
Author: Chris Mayo <aklhfex@gmail.com>
e19a30
Date:   Fri Jan 23 10:35:32 2015 -0500
e19a30
e19a30
    systemd: Ensure RPC pipefs is mounted before rpc.idmapd starts
e19a30
    
e19a30
    rpc.idmapd aborts on start-up if RPC pipefs is not present.
e19a30
    
e19a30
    Needed if GSS services are not used.
e19a30
    
e19a30
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
e19a30
    Signed-off-by: Steve Dickson <steved@redhat.com>
e19a30
e19a30
diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service
e19a30
index 726038d..e84f8c8 100644
e19a30
--- a/systemd/nfs-idmapd.service
e19a30
+++ b/systemd/nfs-idmapd.service
e19a30
@@ -1,5 +1,7 @@
e19a30
 [Unit]
e19a30
 Description=NFSv4 ID-name mapping service
e19a30
+Requires=var-lib-nfs-rpc_pipefs.mount
e19a30
+After=var-lib-nfs-rpc_pipefs.mount
e19a30
 
e19a30
 BindsTo=nfs-server.service
e19a30