]> git.proxmox.com Git - mirror_zfs.git/commit
contrib: dracut: Do not timeout waiting for pw
authorClemens Lang <cl@clang.name>
Thu, 5 Jan 2023 20:07:43 +0000 (20:07 +0000)
committerGitHub <noreply@github.com>
Thu, 5 Jan 2023 20:07:43 +0000 (12:07 -0800)
commit8352e9dfae705c08bb9320b929b64b74d68acfd3
tree84bfa5603a12dedfd69e58043a06feac2712256a
parent1f3bc5ea8074dc98edbee6eb90a308b283117954
contrib: dracut: Do not timeout waiting for pw

systemd-ask-password has a default timeout of 90 seconds, which means
that dracut will fall back to the rescue shell 4.5 minutes after boot if
no password is entered.

This is undesirable when combined with, for example, unlocking remotely
using dracut-sshd and systemd-tty-ask-password-agent. See also
https://github.com/gsauthof/dracut-sshd#timeout and
https://bugzilla.redhat.com/show_bug.cgi?id=868421.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Clemens Lang <neverpanic@gmail.com>
Closes #14341
contrib/dracut/90zfs/zfs-load-key.sh.in