Re: Strange issue with keymaps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 17, 2021 at 03:48:16PM +0200, Vitaly Zaitsev via devel wrote:
> Hello.
> 
> We found a strange issue with non-US keymaps. If the kbd-legacy
> package is not installed (not installed on F34 by default[1]), the
> system will hang on boot due to the "Failed to start Setup Virtual
> Console"[2] error.

systemd-vconsole-setup fails if it cannot load the specified font and
keymap. But that by itself should not cause a "hang" or stop the boot,
because services have a Wants= (not Requires=) dependency on
systemd-vconsole-setup.service. The only exception I see is
dracut-cmdline-ask.service, which specifies Requires=systemd-vconsole-setup.service.

The log snippet that is provided in the bug does not contain enough
context to confirm that the failure is in the initramfs phase, but
that seems very likely. (Please attach full boot logs in general for
such bugs, it makes it easier to resolve them without unnecessary
back-and-forth.)

I think we should do three changes here: dracut units should be changed
to not use Requires, and this will allow the boot to continue (albeit
with the wrong keymap, which might cause problems if you're trying to
input a decryption phase). Anaconda should pull in kbd-legacy (I think
this might be done already, this is not the first time this bug is
discovered). But also should change systemd-vconsole-setup to continue
if the keymap cannot be loaded and load the font at least. It seems better
to have the font loaded, even if you don't have the keymap, so at least
you can *see* that wrong characters are being typed. The final exit
value should still be failure, because the important job of the service
wasn't done successfully, so this will not help with your problem, but
it'll make the system a bit nicer.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux