summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2020-11-09 14:34:15 -0500
committerSteve Dickson <steved@redhat.com>2020-11-10 13:53:07 -0500
commit069f59a8ea648ee91436af42ed9d1982c5dbf97a (patch)
tree1b1312f4d932ac7c29480b71b1a508ec11c1aad3 /systemd
parent87e7690ef04fa23d01177cfbe4b778b4a2f1db96 (diff)
downloadnfs-utils-069f59a8ea648ee91436af42ed9d1982c5dbf97a.tar.gz
nfs-v4client.target: NFSv4 only client target.nfs-utils-2-5-3-rc1
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>
Diffstat (limited to 'systemd')
-rw-r--r--systemd/nfs-v4client.target12
1 files changed, 12 insertions, 0 deletions
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