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:
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?)
Right, so I noticed that kbd-legacy was added to comps [1], and this is a known bug, actually even in Common Bugs. The resolution was that it's too late fix. Please install 'kbd-legacy'. [1] https://pagure.io/fedora-comps/c/46b7e7cf9dcf841f44a701d74ff993897b1da1ed?branch=main *** This bug has been marked as a duplicate of bug 1955162 ***