]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut-systemd): do not use Requires for vconsole-setup.service
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Jul 2021 10:18:27 +0000 (12:18 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 20 Jul 2021 18:53:19 +0000 (20:53 +0200)
commita7f5429cb81f7ffdf9bd5684af8d36725170b756
tree5d346206662ec7d3a7ec5e4197e8476c7e17866c
parentdc21638c3f0acbb54417f3bfb6294ad5514bf2db
fix(dracut-systemd): do not use Requires for vconsole-setup.service

systemd-vconsole-setup.service may fail if the user specifies a missing keymap,
see [1,2,3], or font. This is unfortunate, but the system should not refuse
boot. It is better to continue, possible without the desired font or keymap.
All other systemd services that depend on systemd-vconsole-setup.service do so
without a hard Requires=.

(In particular, systemd-vconsole-setup internally will try to do as much setup
as possible, and will load the font even if it cannot load the keymap and vice
versa.)

[1] https://fedoraproject.org/wiki/Common_F34_bugs#kbd-legacy-media
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1955162
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1955793
modules.d/98dracut-systemd/dracut-cmdline-ask.service