Description of problem: Every time I boot, I get an error message which disappears and then continues booting. When going to a TTY, the keyboard layout is US instead of the one I chose on installation.
Version-Release number of selected component (if applicable): systemd 248 (v248~rc4-3.fc34)
How reproducible: Always
Steps to Reproduce:
1. Install Fedora with a custom keyboard layout (Latin American in my case)
2. Boot Fedora
Actual results:
I get an error message and the keyboard layout doesn't work on TTYs.
Error message on boot (always visible before it disappears, without having to press Esc):
[FAILED] Failed to start Setup Virtual Console
[DEPEND] Dependency failed for dracut ask for additional cmdline parameters.
`systemctl status` says `State: degraded` with red.
Output of `sudo systemctl list-units --failed`:
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-vconsole-setup.service loaded failed failed Setup Virtual Console
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Output of `sudo systemctl status systemd-vconsole-setup.service`:
× systemd-vconsole-setup.service - Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static)
Active: failed (Result: exit-code) since Wed 2021-03-31 12:04:31 CST; 7min ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 950 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
Main PID: 950 (code=exited, status=1/FAILURE)
CPU: 22ms
Mar 31 12:04:31 huawei systemd-vconsole-setup[953]: loadkeys: Unable to open file: la-latin1: No such file or directory
Mar 31 12:04:31 huawei systemd-vconsole-setup[950]: /usr/bin/loadkeys failed with exit status 1.
Mar 31 12:04:31 huawei systemd-vconsole-setup[950]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
Mar 31 12:04:31 huawei systemd-vconsole-setup[950]: Fonts will not be copied to remaining consoles
Mar 31 12:04:31 huawei systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
Mar 31 12:04:31 huawei systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Mar 31 12:04:31 huawei systemd[1]: Failed to start Setup Virtual Console.
Expected results:
* No error message
* The systemd unit starts successfully and systemd doesn't say degraded
* I can use my Latin American keyboard layout on TTYs
Additional info:
Comment 1Zbigniew Jędrzejewski-Szmek
2021-05-18 14:12:33 UTC
la-latin1.map.gz is provided by kbd-legacy package. I assume you don't have this package installed.
Please check if the issue goes away if you install that.
Was this a new install? How did you configure the layout (localectl, Anaconda, gnome-initial-setup?)
Comment 2Zbigniew Jędrzejewski-Szmek
2021-05-19 09:36:27 UTC