arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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