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

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