[Bug 286260] NFS: sharing only for IPv6 subnet fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Apr 2025 09:52:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286260

            Bug ID: 286260
           Summary: NFS: sharing only for IPv6 subnet fails
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl

I recently tested FreeBSD 14.2-PRERELEASE without INET support (Word built
WITOUT_INET, and there are no options for INET in the kernel config). While
testing it, I found an issue with FreeBSD NFS server - IPv6 only shares are not
correctly exported, i.e. to share the directory over IPv6, the same directory
has to be shared over legacy IP too. Directories shared only for IPv6 subnets
are shown by showmount -e, but cannot be mounted: 

# mount /usr/obj/
mount_nfs: nmount: /usr/obj: Stale NFS file handle

Exporting the same directory over IPv4 makes it IPv6 mountable. At the time of
test, both: client and server had full dual-stack support enabled, and both
protocols were working.

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