From 7f1f8f229f546818a891400ac7961e485dcd6f3c Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Mon, 4 Jan 2021 15:24:29 +0800 Subject: [PATCH] Revert "Don's try to restart dracut-initqueue if it's already failed" systemctl is-failed will not work after dracut isolated to the emergency target, so this judgement is invalid. And the restart is basically harmless, so just revert this commit. This reverts commit ad6a93b00d85a85702bb59d15ecc81a5382a9a31. Signed-off-by: Kairui Song Acked-by: Pingfan Liu --- kdump-lib-initramfs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kdump-lib-initramfs.sh b/kdump-lib-initramfs.sh index e766f95..a60a52a 100755 --- a/kdump-lib-initramfs.sh +++ b/kdump-lib-initramfs.sh @@ -226,8 +226,7 @@ dump_to_rootfs() { dinfo "Trying to bring up rootfs device" - systemctl is-failed dracut-initqueue || systemctl start dracut-initqueue - + systemctl start dracut-initqueue dinfo "Waiting for rootfs mount, will timeout after 90 seconds" systemctl start sysroot.mount