Bugzilla – Bug 1221193
Keyboard layout does not work when unlocking partition during system boot
Last modified: 2024-03-25 08:50:53 UTC
During system boot, when the partition needs to be unlocked, the keyboard layout remains English, even though the German layout is displayed and the German layout is also set in vconsole. localectl status System Locale: LANG=de_DE.UTF-8 VC Keymap: de-nodeadkeys X11 Layout: de X11 Model: microsoftpro X11 Variant: nodeadkeys X11 Options: terminate:ctrl_alt_bksp The following error also appears during system boot: failed to start virtual console setup I changed the font to a larger size for HiDPI displays in /etc/vconsole.conf, restarted systemd-vconsole-setup.service, and the font size increased, but after rebooting the system, it became small again.
This bug is similar to this one: https://bugzilla.opensuse.org/show_bug.cgi?id=1215282 However, it was fixed in December of last year.
Created attachment 873376 [details] log
Created attachment 873377 [details] screenshot from log of vconsole
We need to backport https://github.com/openSUSE/dracut/pull/310/commits/60518331f56ea5d994abb6717e98166c10bab6a4 to the Leap 15.6 code base. Could you apply this patch locally (file /usr/lib/dracut/modules.d/10i18n/module-setup.sh) and give us some feedback? Thanks.
(In reply to Antonio Feijoo from comment #4) > We need to backport > https://github.com/openSUSE/dracut/pull/310/commits/ > 60518331f56ea5d994abb6717e98166c10bab6a4 to the Leap 15.6 code base. > > Could you apply this patch locally (file > /usr/lib/dracut/modules.d/10i18n/module-setup.sh) and give us some feedback? > Thanks. I forgot to say that you need to regenerate the initrd after that (dracut -f).
(In reply to Antonio Feijoo from comment #4) > We need to backport > https://github.com/openSUSE/dracut/pull/310/commits/ > 60518331f56ea5d994abb6717e98166c10bab6a4 to the Leap 15.6 code base. > > Could you apply this patch locally (file > /usr/lib/dracut/modules.d/10i18n/module-setup.sh) and give us some feedback? > Thanks. The patch worked, the layout now matches, the vconsole error has disappeared. Thank you.
The fix has been merged and will be available in the next maintenance update. Closing.