[PATCH] nfs-v4client.target: NFSv4 only client target.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux