Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 17:25:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254282] 13.0-RC2: NFS export from nullfs mount doesn't work any more
Message-ID:  <bug-254282-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254282

            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@FreeBSD.org
          Reporter: felix@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=3Droot   -network=3D192.168.0.0/16 -ro
/usr/obj        -maproot=3Droot   -network=3D192.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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254282-227>