diff mbox

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

Message ID 54BFCB7C.5020902@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Mayo Jan. 21, 2015, 3:53 p.m. UTC
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>
---
 systemd/nfs-idmapd.service | 2 ++
 1 file changed, 2 insertions(+)

Comments

Steve Dickson Jan. 23, 2015, 3:37 p.m. UTC | #1
On 01/21/2015 10:53 AM, Chris Mayo wrote:
> 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>
Committed... 

steved.

> ---
>  systemd/nfs-idmapd.service | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service
> index 726038d..e84f8c8 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
>  
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service
index 726038d..e84f8c8 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