public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service
@ 2014-09-29 15:33 Steve Dickson
  2014-09-29 18:32 ` J. Bruce Fields
  2014-09-30 11:05 ` Steve Dickson
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Dickson @ 2014-09-29 15:33 UTC (permalink / raw)
  To: Linux NFS Mailing list

On a VM that boots very fast and with out kerberos
enabled a systemd ordering cycle happens between
nfs-client and nfs-server units when both were
enabled.

Having nfs-client start the gssd daemons in the
same matter as the nfs-server does ('After=') seemed
to eliminated the ordering cycle.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 systemd/nfs-client.target | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemd/nfs-client.target b/systemd/nfs-client.target
index 474f5e9..87a1ce8 100644
--- a/systemd/nfs-client.target
+++ b/systemd/nfs-client.target
@@ -7,7 +7,7 @@ Wants=remote-fs-pre.target
 # start that on demand if needed.
 Wants=rpc-gssd.service rpc-svcgssd.service auth-rpcgss-module.service
 Wants=nfs-blkmap.service rpc-statd-notify.service
-Before=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
+After=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
 
 [Install]
 WantedBy=multi-user.target
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service
  2014-09-29 15:33 [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service Steve Dickson
@ 2014-09-29 18:32 ` J. Bruce Fields
  2014-09-30 11:05 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2014-09-29 18:32 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Linux NFS Mailing list

On Mon, Sep 29, 2014 at 11:33:37AM -0400, Steve Dickson wrote:
> On a VM that boots very fast and with out kerberos
> enabled a systemd ordering cycle happens between
> nfs-client and nfs-server units when both were
> enabled.
> 
> Having nfs-client start the gssd daemons in the
> same matter as the nfs-server does ('After=') seemed
> to eliminated the ordering cycle.

ACK.--b.

> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
>  systemd/nfs-client.target | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/systemd/nfs-client.target b/systemd/nfs-client.target
> index 474f5e9..87a1ce8 100644
> --- a/systemd/nfs-client.target
> +++ b/systemd/nfs-client.target
> @@ -7,7 +7,7 @@ Wants=remote-fs-pre.target
>  # start that on demand if needed.
>  Wants=rpc-gssd.service rpc-svcgssd.service auth-rpcgss-module.service
>  Wants=nfs-blkmap.service rpc-statd-notify.service
> -Before=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
> +After=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
>  
>  [Install]
>  WantedBy=multi-user.target
> -- 
> 1.9.3
> 
> --
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service
  2014-09-29 15:33 [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service Steve Dickson
  2014-09-29 18:32 ` J. Bruce Fields
@ 2014-09-30 11:05 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2014-09-30 11:05 UTC (permalink / raw)
  To: Linux NFS Mailing list



On 09/29/2014 11:33 AM, Steve Dickson wrote:
> On a VM that boots very fast and with out kerberos
> enabled a systemd ordering cycle happens between
> nfs-client and nfs-server units when both were
> enabled.
> 
> Having nfs-client start the gssd daemons in the
> same matter as the nfs-server does ('After=') seemed
> to eliminated the ordering cycle.
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed...

steved.

> ---
>  systemd/nfs-client.target | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/systemd/nfs-client.target b/systemd/nfs-client.target
> index 474f5e9..87a1ce8 100644
> --- a/systemd/nfs-client.target
> +++ b/systemd/nfs-client.target
> @@ -7,7 +7,7 @@ Wants=remote-fs-pre.target
>  # start that on demand if needed.
>  Wants=rpc-gssd.service rpc-svcgssd.service auth-rpcgss-module.service
>  Wants=nfs-blkmap.service rpc-statd-notify.service
> -Before=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
> +After=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
>  
>  [Install]
>  WantedBy=multi-user.target
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-30 11:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 15:33 [PATCH] nfs-client.target: Removed a ordering cycle with nfs-server.service Steve Dickson
2014-09-29 18:32 ` J. Bruce Fields
2014-09-30 11:05 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox