doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0036-never-search-for-MCE-strings-in-dmesg.patch

b404a9
From 6d22940abaeed562e3415fbad905243817a62c21 Mon Sep 17 00:00:00 2001
b404a9
From: Jakub Filak <jfilak@redhat.com>
b404a9
Date: Wed, 12 Feb 2014 17:51:40 +0100
b404a9
Subject: [ABRT PATCH 36/36] never search for MCE strings in dmesg
b404a9
b404a9
'dmesg' element contains complete output of dmesg, therefore once kernel
b404a9
log MCE all consecutive oopses has the MCE messages in 'dmesg' element.
b404a9
b404a9
'backtrace' element contains either oops's backtrace or the MCE message
b404a9
whose scope is limited to a single oops.
b404a9
b404a9
Closes rhbz#1064458
b404a9
b404a9
Signed-off-by: Jakub Filak <jfilak@redhat.com>
b404a9
---
b404a9
 src/plugins/abrt-action-check-oops-for-hw-error.in | 2 +-
b404a9
 1 file changed, 1 insertion(+), 1 deletion(-)
b404a9
b404a9
diff --git a/src/plugins/abrt-action-check-oops-for-hw-error.in b/src/plugins/abrt-action-check-oops-for-hw-error.in
b404a9
index 2333fa1..d74f89d 100644
b404a9
--- a/src/plugins/abrt-action-check-oops-for-hw-error.in
b404a9
+++ b/src/plugins/abrt-action-check-oops-for-hw-error.in
b404a9
@@ -70,7 +70,7 @@ if __name__ == "__main__":
b404a9
     #
b404a9
 
b404a9
     # See if MCEs were seen
b404a9
-    oops_mce = file_has_string("dmesg", "Machine check events logged");
b404a9
+    oops_mce = file_has_string("backtrace", "Machine check events logged");
b404a9
     vmcore_mce = file_has_string("backtrace", "Machine Check Exception:");
b404a9
     if not oops_mce and not vmcore_mce:
b404a9
         sys.exit(0)
b404a9
-- 
b404a9
1.8.3.1
b404a9