mirror_zfs/etc/systemd
InsanePrawn ff2f960b24
Systemd mount generator: don't fail keyload from file if already loaded
Previously the generated keyload units for encryption roots with
keylocation=file://* didn't contain the code to detect if the key
was already loaded and would be marked failed in such situations.

Move the code to check whether the key is already loaded
from keylocation=prompt handling to general key loading code.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
Closes #10103
2020-03-09 11:09:09 -07:00
..
system Order zfs-import-*.service after multipathd 2020-01-22 12:45:25 -08:00
system-generators Systemd mount generator: don't fail keyload from file if already loaded 2020-03-09 11:09:09 -07:00
Makefile.am systemd mount generator and tracking ZEDLET 2018-04-06 14:11:09 -07:00