Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 17:59:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 253592] zfsprops(8) sharenfs description references non-existent options
Message-ID:  <bug-253592-9-tYYx8vM2Qn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253592-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253592-9@https.bugs.freebsd.org/bugzilla/>

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

Allan Jude <allanjude@FreeBSD.org> changed:

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

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

basically, setting 'sharenfs=3Don' 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=3D-maproot=3Dnobody,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

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



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