HomeFreeBSD

contrib: dracut: Do not timeout waiting for pw

Description

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

Details

Provenance
Clemens Lang <cl@clang.name>Authored on Jan 5 2023, 8:07 PM
GitHub <noreply@github.com>Committed on Jan 5 2023, 8:07 PM
Parents
rG1f3bc5ea8074: Illumos #15286: do_composition() needs sign awareness
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8352e9dfae70: contrib: dracut: Do not timeout waiting for pw (authored by Clemens Lang <cl@clang.name>).Jan 5 2023, 8:07 PM