On 24/02/2021 04:41, Jerome Lille wrote:
On Wed, 2021-02-24 at 02:38 +0800, Ed Greshko wrote:
The other way to disable NFSv4 is to modify /etc/sysconfig/nfs to
have the line
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
RPCNFSDARGS="--no-nfs-version 4"
You should check that as well.
Bottom line, NFSv4 is set disabled. Those are the 2 ways I know how
to do. Maybe there
are more?
I checked /etc/sysconfig/nfs and it hadn't any options in RPCNFSDARGS.
I also checked what would happen if I only had version 4, disallowing
version 3 on server side. The error message that the client got was
different. For version 4 it was "mount(2): Permission denied" and for
version 3 it was "portmap query failed: RPC: Program/version mismatch".
I also noticed a log message that comes each time I restart the nfs
server, that I have no idea what it is about
polkitd[1513]: Unregistered Authentication Agent for unix-
process:23099:167829226 (system bus name :1.6793, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
(disconnected from bus)
Although there was no process with PID 23099 when I looked.
That polkitd message occurs here as well. So, not an issue.
What is the output of
cat /run/sysconfig/nfs-utils
--
People who believe they don't make mistakes have already made one.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure