Summary: | zfs set sharenfs fails to produce valid nfsv4 entries in /etc/zfs/exports | ||
---|---|---|---|
Product: | Base System | Reporter: | p5B2EA84B3 |
Component: | bin | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Some People | CC: | rmacklem |
Priority: | --- | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
p5B2EA84B3
2024-06-24 09:41:17 UTC
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=sys 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.) |