Blame SOURCES/0306-a-harvest-vmcore-fix-regresion.patch

a60cd7
From 092baaf1924b85b91fb9340c11a4c5c51ab7a7b2 Mon Sep 17 00:00:00 2001
a60cd7
From: Matej Habrnal <mhabrnal@redhat.com>
a60cd7
Date: Thu, 8 Feb 2018 10:21:01 +0100
a60cd7
Subject: [PATCH] a-harvest-vmcore: fix regresion
a60cd7
a60cd7
Problem is in the analyzer file, which holds value 'abrt-vmcore' (was 'vmcore'
a60cd7
in 7.4). The change has been introduced in
a60cd7
0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch
a60cd7
a60cd7
In Fedora we are using problem dir element 'type' as EVENTs conditions.
a60cd7
In RHEL is the element still 'analyzer'.
a60cd7
a60cd7
Fixes: #1543323
a60cd7
a60cd7
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
a60cd7
---
a60cd7
 src/hooks/abrt_harvest_vmcore.py.in | 2 +-
a60cd7
 1 file changed, 1 insertion(+), 1 deletion(-)
a60cd7
a60cd7
diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in
a60cd7
index c85db8cc..b2ff283d 100644
a60cd7
--- a/src/hooks/abrt_harvest_vmcore.py.in
a60cd7
+++ b/src/hooks/abrt_harvest_vmcore.py.in
a60cd7
@@ -120,7 +120,7 @@ def create_abrtd_info(dest, uuid):
a60cd7
         return None
a60cd7
 
a60cd7
     dd.create_basic_files(0)
a60cd7
-    dd.save_text('analyzer', 'abrt-vmcore')
a60cd7
+    dd.save_text('analyzer', 'vmcore')
a60cd7
     dd.save_text('type', 'vmcore')
a60cd7
     dd.save_text('component', 'kernel')
a60cd7
     dd.save_text('uuid', uuid)
a60cd7
-- 
a60cd7
2.14.3
a60cd7