[Bug 234106] nfsv4 server ignores nfs_reserved_port_only="YES"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 19 00:59:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234106

Rick Macklem <rmacklem at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #5 from Rick Macklem <rmacklem at FreeBSD.org> ---
Yes. If Linux has chosen to go this way, then I think changing it is
appropriate. I'll ask the "collective" on the freebsd-current@ mailing list.
(Whether we like it or not, Linux is now the defacto standard NFS
implementation.)

Btw, if you want to test it, the patch is trivial. Just change the line
in sys/fs/nfsserver/nfs_nfsdkrpc.c (at line# 169 in head) from

    if (nfs_privport && (nd.nd_flag & ND_NFSV4) == 0) {
to
    if (nfs_privport != 0) {

I'll need to test to make sure the FreeBSD NFSv4 client can still do
mounts. (I think it must or someone would have noticed a problem mounting
a Linux server.)

rick

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list