From cb831aea44acf3feabfa830740f5a3ec24f8ac05 Mon Sep 17 00:00:00 2001 From: Benjamin Block Date: Thu, 4 Nov 2021 19:46:25 +0100 Subject: [PATCH] dbginfo.sh: collect config- and debug-data for chreipl-fcp-mpath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When built with `D=1` chreipl-fcp-mpath automatically creates debug data for the helpers that run during udev event processing. This is the only way to effectively debug what is happening during event processing in chreipl-fcp-mpath. Collect this data under its default path in /run/udev/. Also collect the chreipl-fcp-mpath statefile which contains WWID, Device Bus-ID and LUN of the last path that was detected to represent a FCP re-IPL device. Suggested-by: Steffen Maier Reviewed-by: Steffen Maier Signed-off-by: Benjamin Block Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 81a06954..62cd6af7 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -347,6 +347,7 @@ LOGFILES="\ /var/log/openvswitch/ovsdb-server.log\ /run/docker/libcontainerd/containerd/events.log\ /run/containerd/events.log\ + /run/udev/chreiplzfcpmp-[0-9][0-9][a-z][a-z][a-z][a-z]-*\ " ######################################## @@ -404,6 +405,7 @@ CONFIGFILES="\ /lib/systemd/system/docker.service\ /usr/lib/systemd/system\ /etc/apparmor.d\ + /run/udev/chreiplzfcpmp-ipl-volume-id\ " ########################################