16 May 2013 07:15
[PATCH] dracut systemd cmdline service fix
Kdump test failed since below commits dbfaae0e34507d2d1f3c186ffe26af3e8028b9f8 Fedora bug is here: https://bugzilla.redhat.com/show_bug.cgi?id=963159 The reason is the hooks afterwards need NEWROOT env which is set in dracut-cmdline.sh. In this case there's no files under /etc/cmdline.d/ and /lib/dracut/hooks/cmdline/. Conditions checking failed, so the cmdline service failed to startup. Fix this issue by remove the Conditions thus cmdline service always run if /etc/initrd-release exists. Signed-off-by: Dave Young <dyoung@...> --- modules.d/98systemd/dracut-cmdline.service | 5 ----- 1 file changed, 5 deletions(-) --- dracut.orig/modules.d/98systemd/dracut-cmdline.service +++ dracut/modules.d/98systemd/dracut-cmdline.service <at> <at> -16,11 +16,6 <at> <at> Before=systemd-vconsole-setup.service After=systemd-journald.socket Wants=systemd-journald.socket ConditionPathExists=/etc/initrd-release -ConditionPathExistsGlob=|/etc/cmdline.d/*.conf -ConditionDirectoryNotEmpty=|/lib/dracut/hooks/cmdline(Continue reading)
RSS Feed