From: George Diamantopoulos Date: Mon, 16 Jul 2018 22:11:36 +0000 (+0300) Subject: Fix initramfs missing systemd binaries X-Git-Tag: zfs-0.8.0-rc1~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb7307b8922e9eb7da430733d6665e06d2cb0bf5;p=zfs Fix initramfs missing systemd binaries Systemd binaries necessary for mounting an encrypted root dataset weren't copied to initramfs generated by dracut. This patch fixes this and copies these binaries unconditionally, that is regardless of whether native ZFS encryption is used for the root dataset. Reviewed-by: Brian Behlendorf Signed-off-by: George Diamantopoulos Closes #7607 Closes #7719 --- diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in index 4e2edf1e8..19b763a3c 100755 --- a/contrib/dracut/90zfs/module-setup.sh.in +++ b/contrib/dracut/90zfs/module-setup.sh.in @@ -97,5 +97,7 @@ install() { type mark_hostonly >/dev/null 2>&1 && mark_hostonly @systemdunitdir@/zfs-import-$_item.service fi done + dracut_install systemd-ask-password + dracut_install systemd-tty-ask-password-agent fi }