Skip to content

Commit a7f5429

Browse files
keszybzharaldh
authored andcommitted
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
1 parent dc21638 commit a7f5429

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules.d/98dracut-systemd/dracut-cmdline-ask.service

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
Description=dracut ask for additional cmdline parameters
77
DefaultDependencies=no
88
Before=dracut-cmdline.service
9+
Wants=systemd-journald.socket
910
After=systemd-journald.socket
11+
Wants=systemd-vconsole-setup.service
1012
After=systemd-vconsole-setup.service
11-
Requires=systemd-vconsole-setup.service
12-
Wants=systemd-journald.socket
13+
1314
ConditionPathExists=/usr/lib/initrd-release
1415
ConditionKernelCommandLine=|rd.cmdline=ask
1516
ConditionPathExistsGlob=|/etc/cmdline.d/*.conf

0 commit comments

Comments
 (0)