[Bug 254282] 13.0-RC2: NFS export from nullfs mount doesn't work any more

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 14 17:25:55 UTC 2021


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

            Bug ID: 254282
           Summary: 13.0-RC2: NFS export from nullfs mount doesn't work
                    any more
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: felix at palmen-it.de

I have the following nullfs mounts:

/var/jail/builder/src   /usr/src        nullfs  ro,late         0       0
/var/jail/builder/obj   /usr/obj        nullfs  ro,late         0       0

/var/jail/builder/src and /var/jail/builder/obj are ZFS datasets.

Exporting them like this:

/usr/src        -maproot=root   -network=192.168.0.0/16 -ro
/usr/obj        -maproot=root   -network=192.168.0.0/16 -ro

worked fine on any 11.x and 12.x version. It stopped working after upgrade to
13.0-RC2, giving these errors:

mountd[13382]: can't change attributes for /usr/src: netcred already exists for
given addr/mask
mountd[13382]: bad exports list line '/usr/src   -maproot'

Workaround for now is to directly export the datasets instead.

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


More information about the freebsd-bugs mailing list