diff --git a/s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch b/s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch new file mode 100644 index 0000000..ed5f356 --- /dev/null +++ b/s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch @@ -0,0 +1,24 @@ +From: Jiri Bohac +References: bsc#1219471 +Subject: include 59-zfcp-compat.rules in kdump initrd + +kdump uses a random one of the by-path symlinks to refer to the target +partition. + +With 59-zfcp-compat.rules added to the SUSE package, symlinks in the form +/dev/disk/by-path/ccw-*.*.*-zfcp-*:*-part* are created. If kdump uses this symlink when generating +the kdump initrd it will fail on boot beacause the udev rule is missing in the kdump initrd +and the symlink not created in the kdump environment. + +Fix this by including 59-zfcp-compat.rules in the kdump initrd. + +--- a/zdev/dracut/95zdev-kdump/module-setup.sh 2024-02-21 15:57:33.027658387 +0100 ++++ b/zdev/dracut/95zdev-kdump/module-setup.sh 2024-02-21 15:57:38.215675799 +0100 +@@ -78,6 +78,7 @@ + inst_multiple /lib/s390-tools/zdev-from-dasd_mod.dasd + + inst_rules "59-dasd.rules" ++ inst_rules "59-zfcp-compat.rules" + + # Obtain kdump target device configuration + diff --git a/s390-tools.changes b/s390-tools.changes index 7182313..b9c2c0d 100644 --- a/s390-tools.changes +++ b/s390-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 21 17:02:55 UTC 2024 - Nikolay Gueorguiev + +- Applied a patch for kdump initrd (bsc#1219471) + * s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch + ------------------------------------------------------------------- Wed Feb 21 11:12:33 CET 2024 - ro@suse.de diff --git a/s390-tools.spec b/s390-tools.spec index 43e6ed7..b9ec7c3 100644 --- a/s390-tools.spec +++ b/s390-tools.spec @@ -152,6 +152,7 @@ Patch909: s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl Patch910: s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch Patch911: s390-tools-sles15sp5-remove-no-pie-link-arguments.patch Patch912: s390-tools-ALP-zdev-live.patch +Patch913: s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch ### BuildRequires: curl-devel