mirror_zfs/lib
George Wilson bd76bcb36d
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-09-25 13:09:40 -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-17 20:03:10 -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-09-25 13:09:40 -07:00
libspl Fixes for running FreeBSD buildworld on Linux/macOS hosts 2020-09-03 20:06:03 -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 10:23:29 -07:00
libzfs_core zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00
libzfsbootenv libzfsbootenv: lzbe_nvlist_set needs to store bootenv version VB_NVLIST 2020-09-17 10:51:09 -07:00
libzpool FreeBSD: Add support for procfs_list 2020-09-23 16:43:51 -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-12 08:19:48 -07:00
Makefile.am zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00