On 12/24/13 21:24, Robert P. J. Day
wrote:
just to explain where this all came from, i was
working off of what
i was seeing on a RHEL (actually CentOS) 6.5 system, where the
config
file /etc/sysconfig/nfs had helpful comments which allowed me to
tweak that file thusly:
# Define which protocol versions mountd
# will advertise. The values are "no" or "yes"
# with yes being the default
MOUNTD_NFS_V2="no"
MOUNTD_NFS_V3="no"
... snip ...
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
# Turn off v2 and v3 protocol support
RPCNFSDARGS="-N 2 -N 3"
if i make the above changes and restart NFS (on the RHEL
system),
the *only* NFS-related entries i see in
the output of "rpcinfo -p" are:
100003 4 tcp 2049 nfs
100003 4 udp 2049 nfs
and that's *it*, nothing more, which is what
i expected.
sadly, i don't have access to my fedora 20 box at the moment,
but all i was doing was trying to produce the same result --
only those two lines in the output of "rpcinfo -p". i can see
that the *effect* of the earlier suggestions is
the same, in
that only NFSv4 is supported, but there is still that crud in
the output of "rpcinfo -p" that seems irrelevant.
oh, and on the RHEL 6.5 system, the contents of the file
/proc/fs/nfsd/versions correctly contains:
-2 -3 +4 -4.1
OK.....
In any event, I think the original question has been answered. Yes,
you can configure nfs on Fedora to allow only NFSv4. Agreed?
--
Getting tired of non-Fedora discussions and self-serving posts
|
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org