zfs/etc
Jean-Baptiste Lallement ceadc0dbbd Make unloading the key more robust
The unit was failing instead of stopping if someone manually unloaded
the key before stopping the unit (zfs unload-key is failing on an
unavailable key).
Follow a similar logic than for loading the key, checking for the key
status before unloading it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
Signed-off-by: Didier Roche <didrocks@ubuntu.com>
Closes #10477
2020-07-19 10:04:14 -07:00
..
default Centralize variable substitution 2020-07-14 17:33:44 -07:00
init.d Centralize variable substitution 2020-07-14 17:33:44 -07:00
modules-load.d Centralize variable substitution 2020-07-14 17:33:44 -07:00
sudoers.d Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
systemd Make unloading the key more robust 2020-07-19 10:04:14 -07:00
zfs Centralize variable substitution 2020-07-14 17:33:44 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00