mirror_zfs/lib/libspl/include
Don Brady ede037cda7
Make zfs-share service resilient to stale exports
The are a few cases where stale entries in /etc/exports.d/zfs.exports 
will cause the nfs-server service to fail when starting up.

Since the nfs-server startup consumes /etc/exports.d/zfs.exports, the 
zfs-share service (which rebuilds the list of zfs exports) should run 
before the nfs-server service.

To make the zfs-share service resilient to stale exports, this change 
truncates the zfs config file as part of the zfs share -a operation.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #13775
2022-09-09 10:54:16 -07:00
..
os Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
rpc Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sys Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
assert.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
atomic.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libgen.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libshare.h Make zfs-share service resilient to stale exports 2022-09-09 10:54:16 -07:00
Makefile.am libspl/include: remove unused/empty headers 2022-05-18 12:10:43 -07:00
statcommon.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stdlib.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
string.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
umem.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
unistd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zone.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00