Bug 1221193 - Keyboard layout does not work when unlocking partition during system boot
Summary: Keyboard layout does not work when unlocking partition during system boot
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.6
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: dracut maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 18:05 UTC by Andreas
Modified: 2024-03-25 08:50 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
log (283.33 KB, text/plain)
2024-03-10 01:29 UTC, Andreas
Details
screenshot from log of vconsole (660.11 KB, image/jpeg)
2024-03-10 01:30 UTC, Andreas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2024-03-08 18:05:06 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.
Comment 1 Andreas 2024-03-08 18:07:05 UTC
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.
Comment 2 Andreas 2024-03-10 01:29:20 UTC
Created attachment 873376 [details]
log
Comment 3 Andreas 2024-03-10 01:30:14 UTC
Created attachment 873377 [details]
screenshot from log of vconsole
Comment 4 Antonio Feijoo 2024-03-11 07:58:05 UTC
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.
Comment 5 Antonio Feijoo 2024-03-11 08:02:15 UTC
(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).
Comment 6 Andreas 2024-03-11 08:27:08 UTC
(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.
Comment 8 Antonio Feijoo 2024-03-25 08:50:53 UTC
The fix has been merged and will be available in the next maintenance update.
Closing.