Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2024 14:28:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 279945] zfs set sharenfs fails to produce valid nfsv4 entries in /etc/zfs/exports
Message-ID:  <bug-279945-3630-AjzVsXMBOr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-279945-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-279945-3630@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=3D279945

Rick Macklem <rmacklem@FreeBSD.org> changed:

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

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
Yes, the "V4:" exports line needs to be
manually put in /etc/exports.

Note that it does not export any file system,
so you also need a line like:
/export_this      -sec=3Dsys grumpy.cis.uoguelph.ca

either in /etc/exports or generated from the sharenfs
property by setting it without the "V4: /" component
in it.

Call it a bug or a feature, but since the "V4:..." line
does not refer to any file system, it does not work for
sharenfs. I doubt this will ever change.
(Also note that both /etc/exports and /etc/zfs/exports
are used by mountd when started via the rc.d scripts.
See /etc/rc.d/mountd.)

--=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-279945-3630-AjzVsXMBOr>