File s390-tools-sles15sp3-06-dbginfo.sh-collect-udev-rules-from-DPM-device-auto-c.patch of Package s390-tools.23193

Subject: [PATCH] [BZ 195579] dbginfo.sh: collect udev rules from DPM device auto-configuration
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:   6208c0626a28bb0e74b07b4974b6e9fd446dd591
Problem-ID:    195579

Upstream-Description:

              dbginfo.sh: collect udev rules from DPM device auto-configuration

              Complements v2.5.0 commit fe68ec513dc1
              ("zdev: Add support for handling auto-configuration data").

              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
@@ -397,6 +397,7 @@ CONFIGFILES="\
   /etc/udev*\
   /etc/xinet.d\
   /etc/*release\
+  /run/udev/rules.d\
   $(find /lib/modules -name modules.dep 2>/dev/null)\
   /etc/docker\
   /lib/systemd/system/docker.service\
openSUSE Build Service is sponsored by