On 5/28/22 10:18, Chris Adams wrote:
This is from Red Hat's RHEL 8 docs, but works the same on Fedora (at
least version 35).  Set 'vers3=n' in the '[nfsd]' section of
/etc/nfs.conf, mask the RPC services, and restart NFS:

systemctl mask --now rpc-statd.service rpcbind.service rpcbind.socket
systemctl restart nfs-server

Thanks!

The /etc/nfs.conf change was the key, as it allows the server to start
with the various rpc* units masked.

I actually ended up masking even more RPC-related units.  No apparent
ill effects thus far.

 lrwxrwxrwx. 1 root root    9 May 29 10:39 rpcbind.service -> /dev/null
 lrwxrwxrwx. 1 root root    9 May 29 10:39 rpcbind.socket -> /dev/null
 lrwxrwxrwx. 1 root root    9 May 29 10:40 rpcbind.target -> /dev/null
 lrwxrwxrwx. 1 root root    9 May 29 10:41 rpc_pipefs.target -> /dev/null
lrwxrwxrwx. 1 root root 9 May 29 10:46 rpc-statd-notify.service -> /dev/null
 lrwxrwxrwx. 1 root root    9 May 29 10:39 rpc-statd.service -> /dev/null

--
========================================================================
Google                                      Where SkyNet meets Idiocracy
========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to