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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Nov 2021 22:10:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254282

marek@mky.waw.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marek@mky.waw.pl

--- Comment #7 from marek@mky.waw.pl ---
For me, the mountd does not see a nullfs as a separate filesystem and tries to
set the attributes for the upper filesystem. 

The simple workaround that worked for me is to create an empty ZFS dataset
mounted at the same point as nullfs, but before nullfs, eg.:

zfs create -o mountpoint=/usr/src zpool/nfs-usr-src 
mount_nullfs /var/jail/builder/src /usr/src

After that, the NFS exports work fine for me. Tested on 13-RELEASE-p4.

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