File s390-tools-sles15sp3-02-dbginfo.sh-add-zipl-boot-entries.patch of Package s390-tools.24639
Subject: [PATCH] [BZ 195579] dbginfo.sh: collect zipl boot menu entries from boot loader specification
From: Joern Siglen <siglen@de.ibm.com>
Description: dbginfo.sh: stabilzation of data collection
Symptom: o script hangup possible on single commands
o missing data collection on error
o overwrite of buffers by diag commands
Problem: hangup and lost of data collection
Solution: rework code regarding
o add timeout function
o remove probelmatic commands
o include handling improvements
Reproduction: -
Upstream-ID: a3146409dae715ec28696fa9068c07ac984ffd92
Problem-ID: 195579
Upstream-Description:
dbginfo.sh: collect zipl boot menu entries from boot loader specification
Zipl.conf is collected via /etc/*.conf in CONFIGFILES but BLS snippets
do not appear in /etc/zipl.conf.
Complements v2.5.0 commit d280e5b1fa50 ("zipl: Add BootLoaderSpec support")
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Joern Siglen <siglen@de.ibm.com>
--- s390-tools-service.orig/scripts/dbginfo.sh
+++ s390-tools-service/scripts/dbginfo.sh
@@ -358,6 +358,7 @@ LOGFILES="\
########################################
CONFIGFILES="\
+ /boot/loader/entries/*.conf\
/boot/grub2/grub.cfg\
/boot/zipl/active_devices.txt\
/boot/zipl/config\