[pkg-cryptsetup-devel] Bug#1141627: cryptsetup-initramfs incompatible with debug kernel commandline flag
Joerg Dorchain
joerg at dorchain.net
Tue Jul 7 17:04:00 BST 2026
Package: cryptsetup-initramfs
Version: 2:2.8.6-2
Hi,
when using debug on the kernel command line in order to understand a problem
inside iniramfs, cryptsetup does not prompt for a passphrase, it just hangs
forever.
Reading /usr/share/initramfs-tools/init it has a line
exec >"$log_output" 2>&1
which redirects all output to /run/initramfs/initramfs.debug
It would be great to ensure that even with debug cryptsetup shows a prompt
and read a passphrase back from the console in the interactive case.
Maybe checking and ensuring stdin and stdout are a tty before calling
cryptsetup, or just call cryptsetup </dev/console >/dev/console
Bye,
Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20260707/1b65a5d0/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list