Once upon a time, Ian Pilcher <arequip...@gmail.com> said:
> I don't need rpcbind, as I only use NFSv4.  Is there any way to set up
> or configure the NFS server-related units (nfs-server.service, etc.) to
> not start rpcbind?

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

https://access.redhat.com/documentation/zh-cn/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/configuring-an-nfsv4-only-server_exporting-nfs-shares

-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
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