diff mbox series

nfs-v4client.target: NFSv4 only client target.

Message ID 20201109194700.255314-1-steved@redhat.com (mailing list archive)
State New, archived
Headers show
Series nfs-v4client.target: NFSv4 only client target. | expand

Commit Message

Steve Dickson Nov. 9, 2020, 7:47 p.m. UTC
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

Comments

Steve Dickson Nov. 10, 2020, 7:41 p.m. UTC | #1
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
>
diff mbox series

Patch

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