HomeFreeBSD

contrib/initrd: systemd-ask-password --no-tty before argument

Description

contrib/initrd: systemd-ask-password --no-tty before argument

In systemd 249 (sid), sd-a-p processes its arguments in getopt + mode,
so "systemd-ask-password zupa --no-tty" prompts for "zupa --no-tty",
not "zupa" not on the tty, as expected (bullseye, 247).

Ref: https://github.com/systemd/systemd/commit/4b1c842d95bfd6ab352ade1a4655f9e512f35185
Ref: https://github.com/systemd/systemd/pull/19806
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12870

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Dec 17 2021, 8:44 PM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 17 2022, 1:58 AM
Parents
rGf9baf968b819: dracut: 90zfs: zfs-load-key: wait for key to appear for up to 10 seconds
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG19a4bf445f41: contrib/initrd: systemd-ask-password --no-tty before argument (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Feb 17 2022, 1:58 AM