From 3cec62c310e66147a00d3943f09e8296598e4101 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 03 2023 08:09:09 +0000 Subject: import abrt-2.10.9-22.el8 --- diff --git a/SOURCES/0091-plugins-Update-sosreport-event.patch b/SOURCES/0091-plugins-Update-sosreport-event.patch new file mode 100644 index 0000000..bf34ac1 --- /dev/null +++ b/SOURCES/0091-plugins-Update-sosreport-event.patch @@ -0,0 +1,35 @@ +From 4cdb0a7de54b5aa2646169c33563a2e6545b580d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= +Date: Tue, 31 Jan 2023 10:41:46 +0100 +Subject: [PATCH] plugins: Update sosreport event + +- Run `sos report` in place of the obsolete `sosreport` command. +- Switch to `dnf` plugin instead of `yum`. + +Resolves rhbz#2137499 +--- + src/plugins/sosreport_event.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/plugins/sosreport_event.conf b/src/plugins/sosreport_event.conf +index 88ca26fe..4799ff0a 100644 +--- a/src/plugins/sosreport_event.conf ++++ b/src/plugins/sosreport_event.conf +@@ -2,12 +2,12 @@ + # (alternatively, you can add similar command to EVENT=analyze_foo's, + # if you would rather perform this collection later): + EVENT=post-create remote!=1 +- nice sosreport --tmp-dir "$DUMP_DIR" --batch \ ++ nice sos report --tmp-dir "$DUMP_DIR" --batch \ + --only=anaconda --only=boot --only=devicemapper \ + --only=filesys --only=hardware --only=kernel --only=libraries \ + --only=memory --only=networking --only=nfs --only=pam \ + --only=process --only=rpm -k rpm.rpmva=off --only=ssh \ +- --only=services --only=yum --only=date --only=host --only=x11 \ ++ --only=services --only=dnf --only=date --only=host --only=x11 \ + --only=cups --only=logs --only=grub2 --only=cron --only=pci \ + --only=auditd --only=selinux --only=lvm2 --only=sar \ + --only=processor \ +-- +2.39.1 + diff --git a/SPECS/abrt.spec b/SPECS/abrt.spec index 1695f78..8fe0c57 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: 21%{?dist} +Release: 22%{?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 @@ -158,6 +158,7 @@ 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 +Patch0091: 0091-plugins-Update-sosreport-event.patch # autogen.sh is need to regenerate all the Makefile files Patch1000: 1000-Add-autogen.sh.patch @@ -731,6 +732,7 @@ CFLAGS="%{optflags} -Werror" %configure \ %endif %if 0%{?rhel} --enable-suggest-autoreporting \ + --enable-authenticated-autoreporting \ %endif %ifnarch %{arm} --enable-native-unwinder \ @@ -1375,6 +1377,10 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Jan 31 2023 Matěj Grabovský - 2.10.9-22 +- Update sos report command line +- Resolves: rhbz#2137499 + * 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