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

            Bug ID: 253901
           Summary: nfsv4_server values in /etc/rc.conf appear to not be
                    functioning as intended
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: debd...@freebsd.org

I tried configuring NFSv4 with TCP by setting the following in /etc/rc.conf:
mountd_enable="YES"
nfs_server_enable="YES"
nfsv4_server_only="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfs_server_flags="-t --minthreads 1 --maxthreads 8"
[SNIP]

However, `mount_nfs -o nfsv4 -o tcp ...` on the client would fail with:
mount_nfs: nmount: /mnt/test: Permission denied
[SNIP]

It kept doing this irrespective of any field values added to the sharenfs
property until I added "V4: /" to /etc/exports

So I think the nfsv4_server_* values in /etc/defaults/rc.conf might not be
working as intended?

Also, as an aside, mountd complains if /etc/exports doesn't exist, even if
/etc/zfs/exports does when using the sharenfs property - this is mostly a nit,
but it might as well be fixed if it's not intended to work like that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to