diff options
author | Antonio Russo <[email protected]> | 2019-06-02 08:57:10 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-07-15 16:31:47 -0700 |
commit | f88d069cbbbdff9a67a9be523cfb470cef707e07 (patch) | |
tree | 217fbde73bf8b3f58dcc3d76e68ff3a4c97ec1fb /include/sys/txg.h | |
parent | 6993e012025c68e4ce0657f84fb47fe96c436735 (diff) |
systemd encryption key support
Modify zfs-mount-generator to produce a dependency on new
zfs-import-key-*.service units, dynamically created at boot to call
zfs load-key for the encryption root, before attempting to mount any
encrypted datasets.
These units are created by zfs-mount-generator, and RequiresMountsFor on
the keyfile, if present, or call systemd-ask-password if a passphrase is
requested.
This patch includes suggestions from @Fabian-Gruenbichler, @ryanjaeb and
@rlaager, as well an adaptation of @rlaager's script to retry on
incorrect password entry.
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: Fabian Grünbichler <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #8750
Closes #8848
Diffstat (limited to 'include/sys/txg.h')
0 files changed, 0 insertions, 0 deletions