Skip to contentSkip to conversation

systemd: Ensure RPC pipefs is mounted before rpc.idmapd starts

PATCH In review Chris Mayo 2 participants 2 messages Jan 21, 2015 – Jan 23, 2015

Subsystems (2)
lore
Share & tools
lore

Chris Mayo

author
#0 lore raw

PATCH 1/1 systemd: Ensure RPC pipefs is mounted before rpc.idmapd starts

rpc.idmapd aborts on start-up if RPC pipefs is not present.

Needed if GSS services are not used.

---
 systemd/nfs-idmapd.service | 2 ++
 1 file changed, 2 insertions(+)
systemd/nfs-idmapd.service +2 -0
index 726038d..e84f8c8 100644
@@ -1,5 +1,7 @@
 [Unit]
 Description=NFSv4 ID-name mapping service
+Requires=var-lib-nfs-rpc_pipefs.mount
+After=var-lib-nfs-rpc_pipefs.mount
 
 BindsTo=nfs-server.service
 
Signature · 1 line
2.0.5
#1 lore raw
Quoted 5 lines · Chris Mayo

rpc.idmapd aborts on start-up if RPC pipefs is not present.

Needed if GSS services are not used.

Committed...

steved.

Quoted 17 lines
---
 systemd/nfs-idmapd.service | 2 ++
 1 file changed, 2 insertions(+)
systemd/nfs-idmapd.service +2 -0
index 726038d..e84f8c8 100644
@@ -1,5 +1,7 @@
 [Unit]
 Description=NFSv4 ID-name mapping service
+Requires=var-lib-nfs-rpc_pipefs.mount
+After=var-lib-nfs-rpc_pipefs.mount
 
 BindsTo=nfs-server.service