[Bug 253592] zfsprops(8) sharenfs description references non-existent options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 17 17:59:30 UTC 2021


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

Allan Jude <allanjude at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allanjude at FreeBSD.org

--- Comment #1 from Allan Jude <allanjude at FreeBSD.org> ---
The sharenfs section likely needs to be almost entirely different on FreeBSD

basically, setting 'sharenfs=on' adds the mountpoint to /etc/zfs/exports which
mountd(8) reads in addition to /etc/exports

any other value is added as the flags in the file. You can use comma rather
than space to avoid quoting issues.
sharenfs=-maproot=nobody,alldirs,-network,10.1.1.0,-mask,255.255.255.0

etc.

I think there is a way to handle this upstream, as I think we include the
'jail' subsection only if compiling for FreeBSD

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list