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