ZFS: Difference between revisions

imported>Duckfullstop
Add warning about openzfs's sharenfs implementation having a buggy ipv6 parser (fixed in next release)
imported>Duckfullstop
m Fix parsing on openzfs sharenfs ipv6 warning
Line 605: Line 605:
With <code>sharenfs</code> property, ZFS has build-in support for generating <code>/etc/exports.d/zfs.exports</code> file, which in turn is processed by NFS service automatically.
With <code>sharenfs</code> property, ZFS has build-in support for generating <code>/etc/exports.d/zfs.exports</code> file, which in turn is processed by NFS service automatically.


{{warning|If you are intending on defining an IPv6 subnet as part of your sharenfs rule, as of ZFS 2.0.6 (2021-09-23) please note that due to a bug in openzfs '''your rule will not correctly apply''', and may result in a security vulnerability ([https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-20001 CVE-2013-20001]). A fix has been implemented in the next yet-to-be-released upstream version - https://github.com/openzfs/zfs/pull/11939}}
{{warning|If you are intending on defining an IPv6 subnet as part of your sharenfs rule, as of ZFS 2.0.6 (2021-09-23) please note that due to a bug in openzfs '''your rule will not correctly apply''', and may result in a security vulnerability (CVE-2013-20001). A fix has been implemented in the next yet-to-be-released upstream version - [https://github.com/openzfs/zfs/pull/11939 openzfs/zfs#11939]}}


To enable NFS share on a dataset, only two steps are needed:
To enable NFS share on a dataset, only two steps are needed: