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

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