|
|
8bcace |
From a0cb4efb473a553fa034aaa8980635897adf1894 Mon Sep 17 00:00:00 2001
|
|
|
8bcace |
From: Jose Castillo <jcastillo@redhat.com>
|
|
|
8bcace |
Date: Tue, 26 Jan 2021 16:20:44 +0100
|
|
|
8bcace |
Subject: [PATCH] [kdump] Gather the file kexec-dmesg.log
|
|
|
8bcace |
|
|
|
8bcace |
Moved the file name from kexec-kdump.log to
|
|
|
8bcace |
the right one, kexec-dmesg.log and
|
|
|
8bcace |
added it to the list of files to gather via
|
|
|
8bcace |
add_copy_spec as per #1546.
|
|
|
8bcace |
|
|
|
8bcace |
Resolves: RHBZ#1817042
|
|
|
8bcace |
Resolves: #2386
|
|
|
8bcace |
|
|
|
8bcace |
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
|
|
|
8bcace |
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
8bcace |
---
|
|
|
8bcace |
sos/report/plugins/kdump.py | 3 ++-
|
|
|
8bcace |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
8bcace |
|
|
|
8bcace |
diff --git a/sos/report/plugins/kdump.py b/sos/report/plugins/kdump.py
|
|
|
8bcace |
index 4eccb3ffe..6bcb7f74d 100644
|
|
|
8bcace |
--- a/sos/report/plugins/kdump.py
|
|
|
8bcace |
+++ b/sos/report/plugins/kdump.py
|
|
|
8bcace |
@@ -72,6 +72,7 @@ def setup(self):
|
|
|
8bcace |
"/etc/kdump.conf",
|
|
|
8bcace |
"/etc/udev/rules.d/*kexec.rules",
|
|
|
8bcace |
"/var/crash/*/vmcore-dmesg.txt",
|
|
|
8bcace |
+ "/var/crash/*/kexec-dmesg.log",
|
|
|
8bcace |
"/var/log/kdump.log"
|
|
|
8bcace |
])
|
|
|
8bcace |
try:
|
|
|
8bcace |
@@ -81,7 +82,7 @@ def setup(self):
|
|
|
8bcace |
path = "/var/crash"
|
|
|
8bcace |
|
|
|
8bcace |
self.add_copy_spec("{}/*/vmcore-dmesg.txt".format(path))
|
|
|
8bcace |
- self.add_copy_spec("{}/*/kexec-kdump.log".format(path))
|
|
|
8bcace |
+ self.add_copy_spec("{}/*/kexec-dmesg.log".format(path))
|
|
|
8bcace |
|
|
|
8bcace |
|
|
|
8bcace |
class DebianKDump(KDump, DebianPlugin, UbuntuPlugin):
|