zirias@
Developer
Now that my server is running 13.0-RC2 as well, I ran into a problem. I have the following nullfs mounts:
I used them for the following exports:
This worked fine on any 11.x and 12.x version. It stopped working on 13, with the following error:
As a workaround, I can export /var/jail/builder/src directly, forcing the clients to request this instead of just /usr/src.
Now, is exporting via a nullfs mount expected to work? Did it just work "by accident" previously, or did I actually find a bug in 13?
Code:
/var/jail/builder/src /usr/src nullfs ro,late 0 0
/var/jail/builder/obj /usr/obj nullfs ro,late 0 0
I used them for the following exports:
Code:
/usr/src -maproot=root -network=192.168.0.0/16 -ro
/usr/obj -maproot=root -network=192.168.0.0/16 -ro
This worked fine on any 11.x and 12.x version. It stopped working on 13, with the following error:
Code:
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'
As a workaround, I can export /var/jail/builder/src directly, forcing the clients to request this instead of just /usr/src.
Now, is exporting via a nullfs mount expected to work? Did it just work "by accident" previously, or did I actually find a bug in 13?