Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933995 - sys-kernel/dracut-102: regression in 102 causes luks decryption failure
Summary: sys-kernel/dracut-102: regression in 102 causes luks decryption failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexander Tsoy
URL: https://github.com/dracut-ng/dracut-n...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 09:47 UTC by Bernd Feige
Modified: 2024-08-04 20:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2024-06-10 09:47:42 UTC
dracut-102 newly starts systemd-cryptsetup@usbBoot.service on the encrypted device "usbBoot", trying to read a passphrase from /dev/tty1. Thankfully, after three failed attempts at that (if one enters three CRs...), processing continues as usual and dracut successfully employs rd.luks.name and rd.luks.key as instructed from the (grub) kernel command line.

Note that the original issue names tpm unlock but the problem is the autodetection kicking in before the explicit luks instructions are used.

Workaround (verified): Set rd.auto=0 in kernel parameters.

Reproducible: Always
Comment 1 Nowa Ammerlaan gentoo-dev 2024-07-14 10:56:37 UTC
Should be resolved in v103, please re-open if this is still a problem.