Description of problem:
[FAILED] Failed to start Setup Virtual Console.
[DEPEND] Dependency failed for dracut ask for additional cmdline parameters.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install Fedora with Russian locale
2.journalctl -b | grep -i dracut
journalctl -b | grep -i dracut:
Mar 11 17:36:39 Orion-15 systemd: dracut-cmdline-ask.service: Job dracut-cmdline-ask.service/start failed with result 'dependency'.
loadkeys: Unable to open file: ru: No such file or directory
Additional info: there no ru keymap in kbd package (only ru-cv_latin), it is in kbd-legacy package. Installation of kbd-legacy package and mkinitrd (or kernel update) solves this problem. This problem can be observed for other locales, not just Russian.
I also ran into this same problem with the Finnish keymap. I use disk encryption, and a consequence of this problem is that when Plymouth asks me for the encryption password, the indicator says the keymap currently in use is the Finnish one, but in fact I need to enter the password using the US layout.
Anaconda is supposed to install kbd-legacy for languages that need it during OS installation.
See bug #1919483 for more information about that.
In case you've installed your OS within the time window in which kbd-legacy dependency was removed
from kbd and before Anaconda was updated, then you need to install kbd-legacy manually.
I had this error after installing Fedora 34 Workstation and KDE Spin from the images from April 23, it is obvious that the fix did not get into the release version for some reason. From the anaconda repository, it is clear that the fix for this bug was not moved to the branch for Fedora 34, although the pull request comments emphasized the need for a fix for the release. Apparently, they just forgot about it.
I installed Fedora 34 Workstation with the 1.2 DVD ISO, which seems to be the same as what is currently available from getfedora.org.
This is strange, because we have a test that would fail if this was broken. It didn't fail:
it passed, and there it is using the 'ru' keyboard layout during disk decryption. That test was run on the F34 release images, exactly.
That test does use the Server DVD image. I guess it's possible the live images are missing kbd-legacy.
...yeah, I think that's exactly what happened, actually. Workstation image build logs for e.g. show no trace of kbd-legacy: https://koji.fedoraproject.org/koji/taskinfo?taskID=66535238
It looks like it's not actually on the Server DVD either, now I check. The Russian install test uses a remote repository, I do not recall why we have it set up that way. So if you install from a live image this won't work, and if you install from the Server DVD without explicitly adding a remote repo it may not work (I'm not 100% sure, we'd have to check).
We'd better put this in Common Bugs :/
The correct resolution here, I think, is to add kbd-legacy to the anaconda-tools group in comps.
*** Bug 1955793 has been marked as a duplicate of this bug. ***
unfortunately there is no way we can possibly fix this for the release media :( if that PR gets merged, the semi-unofficial live respins should have it fixed, at least.
OK, so I think we have to close this as there isn't really anything else we can do at this point :(
*** Bug 1945371 has been marked as a duplicate of this bug. ***