diff --git a/SOURCES/0090-skip-journal-reporting.patch b/SOURCES/0090-skip-journal-reporting.patch new file mode 100644 index 0000000..10e8caa --- /dev/null +++ b/SOURCES/0090-skip-journal-reporting.patch @@ -0,0 +1,94 @@ +From 3d54b451282246ff8dfdff12e809b64c446b48d2 Mon Sep 17 00:00:00 2001 +From: Michal Srb +Date: Wed, 31 Mar 2021 13:28:57 +0200 +Subject: [PATCH] Do not report to journal + +We do not ship the journal reporter in RHEL 8. +--- + src/plugins/ccpp_event.conf | 8 -------- + src/plugins/koops_event.conf | 4 ---- + src/plugins/python3_event.conf | 4 ---- + src/plugins/python_event.conf | 4 ---- + src/plugins/vmcore_event.conf | 4 ---- + src/plugins/xorg_event.conf | 4 ---- + 6 files changed, 28 deletions(-) + +diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf +index 9883861..f8338d2 100644 +--- a/src/plugins/ccpp_event.conf ++++ b/src/plugins/ccpp_event.conf +@@ -111,11 +111,3 @@ EVENT=report-gui type=CCpp + + EVENT=report-cli type=CCpp + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=CCpp analyzer=abrt-ccpp +- reporter-systemd-journal --message-id 5ab0271ecf1941a2b89299716e880661 \ +- -F /etc/libreport/plugins/catalog_ccpp_format.conf +- +-EVENT=report_systemd-journal type=CCpp analyzer=abrt-journal-core +- reporter-systemd-journal --message-id 5ab0271ecf1941a2b89299716e880661 \ +- -F /etc/libreport/plugins/catalog_journal_ccpp_format.conf +diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf +index f4a3ba2..5e53723 100644 +--- a/src/plugins/koops_event.conf ++++ b/src/plugins/koops_event.conf +@@ -52,7 +52,3 @@ EVENT=report-gui type=Kerneloops mce!=non-fatal + + EVENT=report-cli type=Kerneloops + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=Kerneloops +- reporter-systemd-journal --message-id 8ed36508c5a24d0ab2d633f330899e5f \ +- -F /etc/libreport/plugins/catalog_koops_format.conf +diff --git a/src/plugins/python3_event.conf b/src/plugins/python3_event.conf +index 8c5b279..481a1c4 100644 +--- a/src/plugins/python3_event.conf ++++ b/src/plugins/python3_event.conf +@@ -34,7 +34,3 @@ EVENT=report-gui type=Python3 component!=anaconda + + EVENT=report-cli type=Python3 component!=anaconda + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=Python3 +- reporter-systemd-journal --message-id 4d6f95dd9ff54eb7bd1f32a387f327c3 \ +- -F /etc/libreport/plugins/catalog_python3_format.conf +diff --git a/src/plugins/python_event.conf b/src/plugins/python_event.conf +index 4e5d39c..1824364 100644 +--- a/src/plugins/python_event.conf ++++ b/src/plugins/python_event.conf +@@ -34,7 +34,3 @@ EVENT=report-gui type=Python component!=anaconda + + EVENT=report-cli type=Python component!=anaconda + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=Python +- reporter-systemd-journal --message-id b25955d7738d4db9a498a734620194ef \ +- -F /etc/libreport/plugins/catalog_python_format.conf +diff --git a/src/plugins/vmcore_event.conf b/src/plugins/vmcore_event.conf +index bf97b39..61bc9d1 100644 +--- a/src/plugins/vmcore_event.conf ++++ b/src/plugins/vmcore_event.conf +@@ -64,7 +64,3 @@ EVENT=report-gui type=vmcore + + EVENT=report-cli type=vmcore + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=vmcore +- reporter-systemd-journal --message-id ebde29430d524b5fb043138098fd7e89 \ +- -F /etc/libreport/plugins/catalog_vmcore_format.conf +diff --git a/src/plugins/xorg_event.conf b/src/plugins/xorg_event.conf +index 5ffe4bf..8d0d585 100644 +--- a/src/plugins/xorg_event.conf ++++ b/src/plugins/xorg_event.conf +@@ -26,7 +26,3 @@ EVENT=report-gui type=xorg + + EVENT=report-cli type=xorg + report-cli -- "$DUMP_DIR" +- +-EVENT=report_systemd-journal type=xorg +- reporter-systemd-journal --message-id 6a9a2826cc074934bff0dd0a45a10453 \ +- -F /etc/libreport/plugins/catalog_xorg_format.conf +-- +2.30.2 + diff --git a/SPECS/abrt.spec b/SPECS/abrt.spec index 1b72cbd..a6abbd7 100644 --- a/SPECS/abrt.spec +++ b/SPECS/abrt.spec @@ -55,7 +55,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.10.9 -Release: 20%{?dist} +Release: 21%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -88,9 +88,9 @@ Patch0009: 0009-lib-Correct-the-syntax-for-gdb-backtrace-command.patch Patch0024: 0024-dbus-Add-configuration-for-Python3.patch Patch0025: 0025-daemon-Fix-double-closed-fd-race-condition.patch #git format-patch 1725bd258 -N --start-number 26 --topo-order -#Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch -#Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch -#Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch +Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch +Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch +Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch #Patch0029: 0029-spec-Add-explicit-package-version-requirement-of-abr.patch #git format-patch 2.10.9-10.el8 -N --start-number 30 --topo-order #Patch030: 0030-testsuite-dbus-element-handling-Use-external-script.patch @@ -157,6 +157,7 @@ Patch0085: 0085-abrt-action-install-debuginfo-Fix-variable-reference.patch Patch0086: 0086-plugins-sosreport_event-Rename-nfsserver-plugin.patch # git format-patch 2.10.9-19.el8 --no-numbered --start-number=87 --topo-order Patch0087: 0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch +Patch0090: 0090-skip-journal-reporting.patch # autogen.sh is need to regenerate all the Makefile files Patch1000: 1000-Add-autogen.sh.patch @@ -730,6 +731,7 @@ CFLAGS="%{optflags} -Werror" %configure \ %endif %if 0%{?rhel} --enable-suggest-autoreporting \ + --enable-authenticated-autoreporting \ %endif %ifnarch %{arm} --enable-native-unwinder \ @@ -1374,6 +1376,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Mar 31 2021 Michal Srb - 2.10.9-21 +- Do not report problems to journal as we don't ship the journal reporter +- Resolves: rhbz#1844739 + * Wed Aug 19 2020 - Ernestas Kulik - 2.10.9-20 - Something something patch for rhbz#1835388