arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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