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

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