File 0010-systemd-Ensure-RPC-pipefs-is-mounted-before-rpc.idma.patch of Package nfs-utils.3350

From 6efdb0440daf3ed304a3c1115f01e76e89d792a7 Mon Sep 17 00:00:00 2001
From: Chris Mayo <aklhfex@gmail.com>
Date: Fri, 23 Jan 2015 10:35:32 -0500
Subject: [PATCH] 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.

Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 systemd/nfs-idmapd.service | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service
index 726038d5fc8a..e84f8c873680 100644
--- a/systemd/nfs-idmapd.service
+++ b/systemd/nfs-idmapd.service
@@ -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
 
-- 
2.3.0