Package: cryptsetup Version: 2:2.6.1-4~deb12u2 Severity: wishlist Dear Maintainer,
I installed Debian stable from the netinst USB image yesterday, making some partitions encrypted during the installation. All was good until today's kernel update, after which my passphrase stopped working. It turned out that the issue was caused by incorrectly modified /etc/default/keyboard file, which propagated into the initrd image of the new kernel version. Apparently, some configuration tool or script made that change soon after the initial installation of the system. (I did not edit that file manually, and I could not figure out what package to blame for the unexpected change, but I suspect it was a part of GNOME installation or configuration.) Somehow the settings went from this in the initial initrd image: XKBMODEL="pc105" XKBLAYOUT="us,ru" XKBVARIANT="," XKBOPTIONS="grp:caps_toggle,grp_led:scroll" BACKSPACE="guess" to this on my system, and in the new initrd image: XKBLAYOUT=ru,us XKBVARIANT=, BACKSPACE=guess Apparently, the non-us keyboard layout was used at the cryptsetup password prompt after that, and even though I suspected it, my attempt to change the layout by pressing Caps Lock did not work, so I had to select the previous kernel version in GRUB to successfully boot the system. Although cryptsetup had nothing to do with the above, it would be good to show these hints from cryptsetup FAQ to unsuspecting users if they have troubles entering their passphrase: First, make sure you have a correct passphrase. Then make sure you have the correct key-map and correct keyboard. And then make sure you have the correct character set and encoding. followed by the contents of /etc/default/keyboard, preferably accompanied with a question if a user wants to see what they enter. Thanks! -- Package-specific info: -- System Information: Debian Release: 12.10 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-32-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cryptsetup depends on: ii cryptsetup-bin 2:2.6.1-4~deb12u2 ii debconf [debconf-2.0] 1.5.82 ii dmsetup 2:1.02.185-2 ii libc6 2.36-9+deb12u10 cryptsetup recommends no packages. Versions of packages cryptsetup suggests: ii cryptsetup-initramfs 2:2.6.1-4~deb12u2 ii dosfstools 4.2-1 pn keyutils <none> ii liblocale-gettext-perl 1.07-5 -- debconf information: cryptsetup/prerm_active_mappings: true -- ...Bye..Dmitrii.