linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfs-v4client.target: NFSv4 only client target.
@ 2020-11-09 19:47 Steve Dickson
  2020-11-10 19:41 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2020-11-09 19:47 UTC (permalink / raw)
  To: Linux NFS Mailing list

To allow v4 only clients, create an systemd
nfs-client target that does not "Wants" a
rpc-statd notify

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1886634
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 systemd/nfs-v4client.target | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 systemd/nfs-v4client.target

diff --git a/systemd/nfs-v4client.target b/systemd/nfs-v4client.target
new file mode 100644
index 0000000..3d1064e
--- /dev/null
+++ b/systemd/nfs-v4client.target
@@ -0,0 +1,12 @@
+[Unit]
+Description=NFS client services
+Before=remote-fs-pre.target
+Wants=remote-fs-pre.target
+
+# GSS services dependencies and ordering
+Wants=auth-rpcgss-module.service
+After=rpc-gssd.service rpc-svcgssd.service gssproxy.service
+
+[Install]
+WantedBy=multi-user.target
+WantedBy=remote-fs.target
-- 
2.26.2


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

* Re: [PATCH] nfs-v4client.target: NFSv4 only client target.
  2020-11-09 19:47 [PATCH] nfs-v4client.target: NFSv4 only client target Steve Dickson
@ 2020-11-10 19:41 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2020-11-10 19:41 UTC (permalink / raw)
  To: Linux NFS Mailing list



On 11/9/20 2:47 PM, Steve Dickson wrote:
> To allow v4 only clients, create an systemd
> nfs-client target that does not "Wants" a
> rpc-statd notify
> 
> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1886634
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
>  systemd/nfs-v4client.target | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 systemd/nfs-v4client.target
Committed... (tag: nfs-utils-2-5-3-rc1)

steved.
> 
> diff --git a/systemd/nfs-v4client.target b/systemd/nfs-v4client.target
> new file mode 100644
> index 0000000..3d1064e
> --- /dev/null
> +++ b/systemd/nfs-v4client.target
> @@ -0,0 +1,12 @@
> +[Unit]
> +Description=NFS client services
> +Before=remote-fs-pre.target
> +Wants=remote-fs-pre.target
> +
> +# GSS services dependencies and ordering
> +Wants=auth-rpcgss-module.service
> +After=rpc-gssd.service rpc-svcgssd.service gssproxy.service
> +
> +[Install]
> +WantedBy=multi-user.target
> +WantedBy=remote-fs.target
> 


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

end of thread, other threads:[~2020-11-10 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 19:47 [PATCH] nfs-v4client.target: NFSv4 only client target Steve Dickson
2020-11-10 19:41 ` 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).