Descriptioncvetkofabian07@tutanota.com
2021-06-03 08:03:55 UTC
Description of problem:
Systemd on boot: [FAILED] Failed to start Setup Virtual Console
That's because keymap "sg" doesn't exist. Loading "ch" in tty works.
/etc/vconsole.conf is allready correctly set to "ch" by default.
I set the console keymap myself with localectl, but the error persists.
Version-Release number of selected component (if applicable):
Fedora 34
How reproducible:
Every boot.
Steps to Reproduce:
1. Install Fedora 34 KDE plasma with SwissGerman keyboard
2. Boot System and get error (See below in additional info).
Actual results:
systemd-vconsole-setup.service apparently runns "loadkeys sg" witch will fail because "sg" doesn't exist.
Expected results:
"loadkeys ch"
Additional info:
Jun 03 00:27:21 ThinkPad systemd-vconsole-setup[219]: loadkeys: Unable to open file: sg: No such file or directory
Jun 03 00:27:23 ThinkPad systemd[1]: Starting Setup Virtual Console...
Jun 03 00:27:23 ThinkPad systemd-vconsole-setup[447]: loadkeys: Unable to open file: sg: No such file or directory
Jun 03 00:27:23 ThinkPad systemd-vconsole-setup[444]: /usr/bin/loadkeys failed with exit status 1.
Jun 03 00:27:23 ThinkPad systemd-vconsole-setup[444]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
Jun 03 00:27:23 ThinkPad systemd-vconsole-setup[444]: Fonts will not be copied to remaining consoles
Jun 03 00:27:23 ThinkPad systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
Jun 03 00:27:23 ThinkPad systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Jun 03 00:27:23 ThinkPad systemd[1]: Failed to start Setup Virtual Console.
Jun 02 22:27:23 ThinkPad systemd-vconsole-setup[498]: loadkeys: Unable to open file: sg: No such file or directory
--------------------
vconsole.conf:
KEYMAP=ch
FONT=eurlatgr
I can confirm bug.
The same error with KEYMAP="ru".
Workaround:
1. Change KEYMAP in /etc/vconsole.conf to "us".
2. Run
sudo dracut -f
sudo dracut --regenerate-all --force