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

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