* [PATCH] systemd: Decouple the starting and stopping of rpcbind/nfs-server
@ 2015-11-09 16:33 Steve Dickson
2015-11-16 20:06 ` Steve Dickson
0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2015-11-09 16:33 UTC (permalink / raw)
To: Linux NFS Mailing list
Commit b98f2af15 introduced a regression that cause the
starting and stop of rpcbind and the nfs-server to
be depended on each other
The starting of the NFS server should start rpcbind
but bring rpcbind down should not bring the NFS
server down.
Signed-off-by: Steve Dickson <steved@redhat.com>
---
systemd/nfs-server.service | 2 +-
systemd/rpc-statd.service | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
index 12b02f2..317e5d6 100644
--- a/systemd/nfs-server.service
+++ b/systemd/nfs-server.service
@@ -1,7 +1,7 @@
[Unit]
Description=NFS server and services
DefaultDependencies=no
-Requires= network.target proc-fs-nfsd.mount rpcbind.service
+Requires= network.target proc-fs-nfsd.mount rpcbind.target
Requires= nfs-mountd.service
Wants=rpc-statd.service nfs-idmapd.service
Wants=rpc-statd-notify.service
diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service
index 14604d7..f16ea42 100644
--- a/systemd/rpc-statd.service
+++ b/systemd/rpc-statd.service
@@ -3,7 +3,7 @@ Description=NFS status monitor for NFSv2/3 locking.
DefaultDependencies=no
Conflicts=umount.target
Requires=nss-lookup.target rpcbind.target
-After=network.target nss-lookup.target rpcbind.target
+After=network.target nss-lookup.target rpcbind.service
PartOf=nfs-utils.service
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] systemd: Decouple the starting and stopping of rpcbind/nfs-server
2015-11-09 16:33 [PATCH] systemd: Decouple the starting and stopping of rpcbind/nfs-server Steve Dickson
@ 2015-11-16 20:06 ` Steve Dickson
0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2015-11-16 20:06 UTC (permalink / raw)
To: Linux NFS Mailing list
On 11/09/2015 11:33 AM, Steve Dickson wrote:
> Commit b98f2af15 introduced a regression that cause the
> starting and stop of rpcbind and the nfs-server to
> be depended on each other
>
> The starting of the NFS server should start rpcbind
> but bring rpcbind down should not bring the NFS
> server down.
>
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed..
steved.
> ---
> systemd/nfs-server.service | 2 +-
> systemd/rpc-statd.service | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
> index 12b02f2..317e5d6 100644
> --- a/systemd/nfs-server.service
> +++ b/systemd/nfs-server.service
> @@ -1,7 +1,7 @@
> [Unit]
> Description=NFS server and services
> DefaultDependencies=no
> -Requires= network.target proc-fs-nfsd.mount rpcbind.service
> +Requires= network.target proc-fs-nfsd.mount rpcbind.target
> Requires= nfs-mountd.service
> Wants=rpc-statd.service nfs-idmapd.service
> Wants=rpc-statd-notify.service
> diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service
> index 14604d7..f16ea42 100644
> --- a/systemd/rpc-statd.service
> +++ b/systemd/rpc-statd.service
> @@ -3,7 +3,7 @@ Description=NFS status monitor for NFSv2/3 locking.
> DefaultDependencies=no
> Conflicts=umount.target
> Requires=nss-lookup.target rpcbind.target
> -After=network.target nss-lookup.target rpcbind.target
> +After=network.target nss-lookup.target rpcbind.service
>
> PartOf=nfs-utils.service
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-16 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 16:33 [PATCH] systemd: Decouple the starting and stopping of rpcbind/nfs-server Steve Dickson
2015-11-16 20:06 ` Steve Dickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).