Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933995

Summary: sys-kernel/dracut-102: regression in 102 causes luks decryption failure
Product: Gentoo Linux Reporter: Bernd Feige <Bernd.Feige>
Component: Current packagesAssignee: Alexander Tsoy <alexander>
Status: CONFIRMED ---    
Severity: normal CC: andrewammerlaan, floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/dracut-ng/dracut-ng/issues/333
Whiteboard:
Package list:
Runtime testing required: ---

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