File of Package kdump.21347

Date: Wed Jul 29 14:40:10 2020 +0800
From: Shung-Hsi Yu <>
Subject: Make sure that directory exists
References: bsc#1172670
Upstream: merged
Git-commit: 506794bf323ceb27f4796e60e311fad11e6d6986

Creation of symbolic link to kdump-save.service will fail if the directory
doesn't exists, and dump will not be captured because kdump-save.service is
never started.

The user will see the rescue mode prompt when the kernel crashed because
systemd will proceed to initrd-switch-root, which will fail (thus triggering
rescue mode) because kdump initrd does not setup /sysroot properly.

Signed-off-by: Shung-Hsi Yu <>

 init/ |    1 +
 1 file changed, 1 insertion(+)

--- a/init/
+++ b/init/
@@ -273,6 +273,7 @@ install() {
         ) > "$_d"/kdump.conf
+	mkdir -p "$initdir/$systemdsystemunitdir"/
 	ln_r "$systemdsystemunitdir"/kdump-save.service \
openSUSE Build Service is sponsored by