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

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