zfs/lib
George Wilson 626abe164d zpool command complains about /etc/exports.d
If the /etc/exports.d directory does not exist, then we should only
create it when we're performing an action which already requires root
privileges.

This commit moves the directory creation to the enable/disable code
path which ensures that we have the appropriate privileges.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <gwilson@delphix.com>
Closes #10785
Closes #10934
2020-10-01 12:20:06 -07:00
..
libavl Fixes for make dist 2020-06-26 14:20:02 -07:00
libefi pool may become suspended during device expansion 2020-09-18 12:38:30 -07:00
libicp Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libnvpair Disable -Wl,-z,defs for ASAN builds 2020-07-14 12:17:44 -07:00
libshare zpool command complains about /etc/exports.d 2020-10-01 12:20:06 -07:00
libspl Fixes for running FreeBSD buildworld on Linux/macOS hosts 2020-09-09 10:21:11 -07:00
libtpool Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libunicode Fixes for make dist 2020-06-26 14:20:02 -07:00
libuutil Disable -Wl,-z,defs for ASAN builds 2020-07-14 12:17:44 -07:00
libzfs libzfs: Don't leak buf if nvlist is too large 2020-09-18 12:38:40 -07:00
libzfs_core zfs label bootenv should store data as nvlist 2020-09-15 18:36:12 -07:00
libzfsbootenv libzfsbootenv: lzbe_nvlist_set needs to store bootenv version VB_NVLIST 2020-09-18 12:38:04 -07:00
libzpool FreeBSD: Add support for procfs_list 2020-10-01 12:18:56 -07:00
libzstd Avoid symbol collision with in-kernel zstdlib 2020-08-24 12:20:41 -07:00
libzutil libzutil depends on libnvpair 2020-09-15 18:36:03 -07:00
Makefile.am zfs label bootenv should store data as nvlist 2020-09-15 18:36:12 -07:00