[Bug 147881] [zfs] [patch] ZFS "sharenfs" doesn't allow different "exports" options for different hosts

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 May 2021 12:20:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147881

--- Comment #22 from Richard S. Conto <Richard.Conto@gmail.com> ---
I've seen configuration schemes like that, and they tend to be fragile.

The questions that come to my mind off-hand are:

(1) Are multiple attributes concatenated as a single string or as separate
statements?
(2) How is ordering done?  Lexically, such that "freebsd_share_10" comes before
"freebsd_share_2" or is some syntax imposed on the attribute name itself (and
what happens to attributes that partially match the syntax?)  
(3) What happens if "intermediate" attributes are removed or edited?


Also, different protocols seem to require different sharing syntax, especially
when identity management is involved.

----
And any solution will be FreeBSD specific - and not necessarily portable to
other systems.

At that point, just implement it outside of ZFS anyway.

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