Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec34e3100a | ||
|
|
12882eb718 |
7 changed files with 167 additions and 210 deletions
12
.gitignore
vendored
12
.gitignore
vendored
|
|
@ -75,15 +75,3 @@ abrt-1.1.13.tar.gz
|
||||||
/abrt-2.14.4.tar.gz
|
/abrt-2.14.4.tar.gz
|
||||||
/abrt-2.14.5.tar.gz
|
/abrt-2.14.5.tar.gz
|
||||||
/abrt-2.14.6.tar.gz
|
/abrt-2.14.6.tar.gz
|
||||||
/abrt-2.15.0.tar.gz
|
|
||||||
/abrt-2.15.1.tar.gz
|
|
||||||
/abrt-2.16.0.tar.gz
|
|
||||||
/abrt-2.16.1.tar.gz
|
|
||||||
/abrt-2.17.0.tar.gz
|
|
||||||
/abrt-2.17.1.tar.gz
|
|
||||||
/abrt-2.17.2.tar.gz
|
|
||||||
/abrt-2.17.4.tar.gz
|
|
||||||
/abrt-2.17.5.tar.gz
|
|
||||||
/abrt-2.17.6.tar.gz
|
|
||||||
/abrt-2.17.7.tar.gz
|
|
||||||
/abrt-2.17.8.tar.gz
|
|
||||||
|
|
|
||||||
57
0001-Use-lazy-imports-in-abrt_exception_handler3.patch
Normal file
57
0001-Use-lazy-imports-in-abrt_exception_handler3.patch
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
From 4755f2171aa50a72d8ec03260c8cbc602263a6c0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||||
|
Date: Fri, 24 Sep 2021 17:48:07 +0200
|
||||||
|
Subject: [PATCH] Use lazy imports in abrt_exception_handler3
|
||||||
|
|
||||||
|
The abrt_exception_handler3 module is always imported when Python starts,
|
||||||
|
but all the modules imported from it (except sys) are only used during crashes.
|
||||||
|
|
||||||
|
Especially the systemd.journal import is really expensive.
|
||||||
|
|
||||||
|
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2007664
|
||||||
|
---
|
||||||
|
src/hooks/abrt_exception_handler3.py.in | 9 +++++++--
|
||||||
|
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/hooks/abrt_exception_handler3.py.in b/src/hooks/abrt_exception_handler3.py.in
|
||||||
|
index 89e2474b..0bc548e0 100644
|
||||||
|
--- a/src/hooks/abrt_exception_handler3.py.in
|
||||||
|
+++ b/src/hooks/abrt_exception_handler3.py.in
|
||||||
|
@@ -20,13 +20,15 @@
|
||||||
|
Module for the ABRT exception handling hook
|
||||||
|
"""
|
||||||
|
|
||||||
|
+# Avoid importing anything but sys here, use lazy imports.
|
||||||
|
+# This file is imported on every Python startup,
|
||||||
|
+# all unused imports only increase the startup time and memory usage.
|
||||||
|
import sys
|
||||||
|
-import os
|
||||||
|
|
||||||
|
-from systemd import journal
|
||||||
|
|
||||||
|
def syslog(msg):
|
||||||
|
"""Log message to system logger (journal)"""
|
||||||
|
+ from systemd import journal
|
||||||
|
|
||||||
|
journal.send(msg)
|
||||||
|
|
||||||
|
@@ -68,6 +70,8 @@ def send(data):
|
||||||
|
|
||||||
|
|
||||||
|
def write_dump(tb_text, tb):
|
||||||
|
+ import os
|
||||||
|
+
|
||||||
|
if sys.argv[0][0] == "/":
|
||||||
|
executable = os.path.abspath(sys.argv[0])
|
||||||
|
else:
|
||||||
|
@@ -118,6 +122,7 @@ def handle_exception(etype, value, tb):
|
||||||
|
sys.excepthook = sys.__excepthook__ # pylint: disable-msg=E1101
|
||||||
|
|
||||||
|
import errno
|
||||||
|
+ import os
|
||||||
|
|
||||||
|
# Ignore Ctrl-C
|
||||||
|
# SystemExit rhbz#636913 -> this exception is not an error
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
||||||
35
0002-abrt-dbus-do-not-try-to-free-session-data-twice.patch
Normal file
35
0002-abrt-dbus-do-not-try-to-free-session-data-twice.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
From 564c1050e150a083a7d80cbfdd7ede7620e5124f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michal Srb <michal@redhat.com>
|
||||||
|
Date: Tue, 5 Oct 2021 18:43:27 +0200
|
||||||
|
Subject: [PATCH] abrt-dbus: do not try to free session data twice
|
||||||
|
|
||||||
|
We free session data in on_g_signal() function, which is also
|
||||||
|
invoked when client disappears. Therefore, we don't need to register the
|
||||||
|
same free function in g_bus_watch_name_on_connection().
|
||||||
|
|
||||||
|
glib2 2.69.2 changed (fixed?) how/when g_bus_watch_name_on_connection()
|
||||||
|
calls the provided free function and it uncovered this problem in abrt-dbus.
|
||||||
|
|
||||||
|
See rhbz#1997315 for more details.
|
||||||
|
|
||||||
|
Signed-off-by: Michal Srb <michal@redhat.com>
|
||||||
|
---
|
||||||
|
src/dbus/abrt_problems2_service.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/dbus/abrt_problems2_service.c b/src/dbus/abrt_problems2_service.c
|
||||||
|
index 8d543f44..004c7aeb 100644
|
||||||
|
--- a/src/dbus/abrt_problems2_service.c
|
||||||
|
+++ b/src/dbus/abrt_problems2_service.c
|
||||||
|
@@ -571,7 +571,7 @@ static AbrtP2Object *session_object_register(AbrtP2Service *service,
|
||||||
|
obj->owner_watcher_id = g_bus_watch_name_on_connection(connection, caller,
|
||||||
|
G_BUS_NAME_WATCHER_FLAGS_NONE,
|
||||||
|
NULL, abrt_p2_service_on_session_owner_vanished,
|
||||||
|
- obj, (GDestroyNotify)abrt_p2_object_destroy);
|
||||||
|
+ obj, NULL);
|
||||||
|
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
||||||
258
abrt.spec
258
abrt.spec
|
|
@ -9,13 +9,6 @@
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10
|
|
||||||
%bcond_with container_handler
|
|
||||||
%else
|
|
||||||
%bcond_without container_handler
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?rhel}%{?suse_version}
|
%if 0%{?rhel}%{?suse_version}
|
||||||
%bcond_with bodhi
|
%bcond_with bodhi
|
||||||
%else
|
%else
|
||||||
|
|
@ -29,7 +22,7 @@
|
||||||
%bcond_without retrace
|
%bcond_without retrace
|
||||||
|
|
||||||
# rpmbuild --define 'desktopvendor mystring'
|
# rpmbuild --define 'desktopvendor mystring'
|
||||||
%if "x%{?desktopvendor}" == "x"
|
%if "x%{desktopvendor}" == "x"
|
||||||
%define desktopvendor %(source /etc/os-release; echo ${ID})
|
%define desktopvendor %(source /etc/os-release; echo ${ID})
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
@ -50,23 +43,23 @@
|
||||||
%define docdirversion -%{version}
|
%define docdirversion -%{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define glib_ver 2.73.3
|
%define libreport_ver 2.14.0
|
||||||
%define libreport_ver 2.17.13
|
|
||||||
%define satyr_ver 0.24
|
%define satyr_ver 0.24
|
||||||
|
|
||||||
Summary: Automatic bug detection and reporting tool
|
Summary: Automatic bug detection and reporting tool
|
||||||
Name: abrt
|
Name: abrt
|
||||||
Version: 2.17.8
|
Version: 2.14.6
|
||||||
Release: 2%{?dist}
|
Release: 9%{?dist}
|
||||||
License: GPL-2.0-or-later
|
License: GPLv2+
|
||||||
URL: https://abrt.readthedocs.org/
|
URL: https://abrt.readthedocs.org/
|
||||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: %{dbus_devel}
|
BuildRequires: %{dbus_devel}
|
||||||
BuildRequires: hostname
|
BuildRequires: hostname
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: glib2-devel >= %{glib_ver}
|
BuildRequires: glib2-devel >= 2.43.4
|
||||||
BuildRequires: rpm-devel >= 6.0.0
|
BuildRequires: rpm-devel >= 4.6
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: libnotify-devel
|
BuildRequires: libnotify-devel
|
||||||
#why? BuildRequires: file-devel
|
#why? BuildRequires: file-devel
|
||||||
|
|
@ -75,7 +68,7 @@ BuildRequires: gettext
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libsoup3-devel
|
BuildRequires: libsoup-devel
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
|
@ -83,8 +76,6 @@ BuildRequires: libreport-devel >= %{libreport_ver}
|
||||||
BuildRequires: satyr-devel >= %{satyr_ver}
|
BuildRequires: satyr-devel >= %{satyr_ver}
|
||||||
BuildRequires: augeas
|
BuildRequires: augeas
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
# Required for the %%{_unitdir} and %%{_tmpfilesdir} macros.
|
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-systemd
|
BuildRequires: python3-systemd
|
||||||
|
|
@ -118,11 +109,6 @@ Requires: libreport-plugin-systemd-journal
|
||||||
%endif
|
%endif
|
||||||
# to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version.
|
# to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version.
|
||||||
Obsoletes: abrt-plugin-sosreport < 2.14.5
|
Obsoletes: abrt-plugin-sosreport < 2.14.5
|
||||||
# fros was retired 2025-07, and was initially added to comps to support
|
|
||||||
# abrt-desktop, so let's obsolete it here
|
|
||||||
Obsoletes: fros < 1.1-42
|
|
||||||
Obsoletes: fros-gnome < 1.1-42
|
|
||||||
Obsoletes: fros-recordmydesktop < 1.1-42
|
|
||||||
|
|
||||||
#gui
|
#gui
|
||||||
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
|
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
|
||||||
|
|
@ -150,6 +136,9 @@ BuildRequires: python3-libreport
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Patch0: 0001-Use-lazy-imports-in-abrt_exception_handler3.patch
|
||||||
|
Patch2: 0002-abrt-dbus-do-not-try-to-free-session-data-twice.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a tool to help users to detect defects in applications and
|
%{name} is a tool to help users to detect defects in applications and
|
||||||
to create a bug report with all information needed by maintainer to fix it.
|
to create a bug report with all information needed by maintainer to fix it.
|
||||||
|
|
@ -203,9 +192,11 @@ Summary: %{name}'s C/C++ addon
|
||||||
Requires: cpio
|
Requires: cpio
|
||||||
Requires: gdb-headless
|
Requires: gdb-headless
|
||||||
Requires: elfutils
|
Requires: elfutils
|
||||||
# Required for local retracing with GDB.
|
|
||||||
Requires: elfutils-debuginfod-client
|
|
||||||
%if 0%{!?rhel:1}
|
%if 0%{!?rhel:1}
|
||||||
|
%if %{with retrace}
|
||||||
|
# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer:
|
||||||
|
Requires: %{name}-retrace-client
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: abrt-libs = %{version}-%{release}
|
Requires: abrt-libs = %{version}-%{release}
|
||||||
|
|
@ -213,7 +204,6 @@ Requires: abrt-libs = %{version}-%{release}
|
||||||
Requires: python3-libreport
|
Requires: python3-libreport
|
||||||
%endif
|
%endif
|
||||||
Obsoletes: abrt-addon-coredump-helper <= 2.12.2
|
Obsoletes: abrt-addon-coredump-helper <= 2.12.2
|
||||||
Obsoletes: abrt-retrace-client <= 2.15.1
|
|
||||||
|
|
||||||
|
|
||||||
%description addon-ccpp
|
%description addon-ccpp
|
||||||
|
|
@ -227,6 +217,20 @@ Requires: abrt-libs = %{version}-%{release}
|
||||||
%description addon-upload-watch
|
%description addon-upload-watch
|
||||||
This package contains hook for uploaded problems.
|
This package contains hook for uploaded problems.
|
||||||
|
|
||||||
|
%if %{with retrace}
|
||||||
|
%package retrace-client
|
||||||
|
Summary: %{name}'s retrace client
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: xz
|
||||||
|
Requires: tar
|
||||||
|
Requires: p11-kit-trust
|
||||||
|
Requires: libsoup
|
||||||
|
|
||||||
|
%description retrace-client
|
||||||
|
This package contains the client application for Retrace server
|
||||||
|
which is able to analyze C/C++ crashes remotely.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package addon-kerneloops
|
%package addon-kerneloops
|
||||||
Summary: %{name}'s kerneloops addon
|
Summary: %{name}'s kerneloops addon
|
||||||
Requires: curl
|
Requires: curl
|
||||||
|
|
@ -254,11 +258,7 @@ log.
|
||||||
Summary: %{name}'s vmcore addon
|
Summary: %{name}'s vmcore addon
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: abrt-addon-kerneloops
|
Requires: abrt-addon-kerneloops
|
||||||
# On riscv64, kexec-tools does not compile:
|
|
||||||
# "configure: error: unsupported architecture riscv64"
|
|
||||||
%ifnarch riscv64
|
|
||||||
Requires: kexec-tools
|
Requires: kexec-tools
|
||||||
%endif
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
Requires: python3-abrt
|
Requires: python3-abrt
|
||||||
Requires: python3-augeas
|
Requires: python3-augeas
|
||||||
|
|
@ -285,7 +285,6 @@ This package contains plugin for collecting kernel oopses from pstore storage.
|
||||||
%package plugin-bodhi
|
%package plugin-bodhi
|
||||||
Summary: %{name}'s bodhi plugin
|
Summary: %{name}'s bodhi plugin
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: abrt-libs = %{version}-%{release}
|
|
||||||
Obsoletes: libreport-plugin-bodhi <= 2.0.10
|
Obsoletes: libreport-plugin-bodhi <= 2.0.10
|
||||||
Provides: libreport-plugin-bodhi = %{version}-%{release}
|
Provides: libreport-plugin-bodhi = %{version}-%{release}
|
||||||
|
|
||||||
|
|
@ -305,10 +304,8 @@ Requires: python3-abrt
|
||||||
This package contains python 3 hook and python analyzer plugin for handling
|
This package contains python 3 hook and python analyzer plugin for handling
|
||||||
uncaught exception in python 3 programs.
|
uncaught exception in python 3 programs.
|
||||||
|
|
||||||
%if %{with container_handler}
|
|
||||||
%package -n python3-abrt-container-addon
|
%package -n python3-abrt-container-addon
|
||||||
Summary: %{name}'s container addon for catching Python 3 exceptions
|
Summary: %{name}'s container addon for catching Python 3 exceptions
|
||||||
BuildArch: noarch
|
|
||||||
Conflicts: python3-abrt-addon
|
Conflicts: python3-abrt-addon
|
||||||
Requires: container-exception-logger
|
Requires: container-exception-logger
|
||||||
|
|
||||||
|
|
@ -317,8 +314,6 @@ This package contains python 3 hook and handling uncaught exception in python 3
|
||||||
programs in container.
|
programs in container.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package plugin-machine-id
|
%package plugin-machine-id
|
||||||
Summary: %{name}'s plugin to generate machine_id based off dmidecode
|
Summary: %{name}'s plugin to generate machine_id based off dmidecode
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
@ -329,7 +324,6 @@ of machine_id for abrt events.
|
||||||
|
|
||||||
%package tui
|
%package tui
|
||||||
Summary: %{name}'s command line interface
|
Summary: %{name}'s command line interface
|
||||||
BuildArch: noarch
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: libreport-cli >= %{libreport_ver}
|
Requires: libreport-cli >= %{libreport_ver}
|
||||||
Requires: abrt-libs = %{version}-%{release}
|
Requires: abrt-libs = %{version}-%{release}
|
||||||
|
|
@ -360,6 +354,9 @@ Requires: python3-abrt-addon
|
||||||
%endif
|
%endif
|
||||||
Requires: abrt-addon-xorg
|
Requires: abrt-addon-xorg
|
||||||
%if ! 0%{?rhel}
|
%if ! 0%{?rhel}
|
||||||
|
%if %{with retrace}
|
||||||
|
Requires: abrt-retrace-client
|
||||||
|
%endif
|
||||||
%if %{with bodhi}
|
%if %{with bodhi}
|
||||||
Requires: abrt-plugin-bodhi
|
Requires: abrt-plugin-bodhi
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -397,6 +394,9 @@ Requires: gdb-headless
|
||||||
Requires: abrt-gui
|
Requires: abrt-gui
|
||||||
Requires: gnome-abrt
|
Requires: gnome-abrt
|
||||||
%if ! 0%{?rhel}
|
%if ! 0%{?rhel}
|
||||||
|
%if %{with retrace}
|
||||||
|
Requires: abrt-retrace-client
|
||||||
|
%endif
|
||||||
%if %{with bodhi}
|
%if %{with bodhi}
|
||||||
Requires: abrt-plugin-bodhi
|
Requires: abrt-plugin-bodhi
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -474,12 +474,6 @@ to the shell
|
||||||
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
|
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
|
||||||
%autosetup -S git -p 0
|
%autosetup -S git -p 0
|
||||||
|
|
||||||
# Create a sysusers.d config file
|
|
||||||
#uidgid pair 173:173 reserved in setup rhbz#670231
|
|
||||||
%global abrt_gid_uid 173
|
|
||||||
cat >abrt.sysusers.conf <<EOF
|
|
||||||
u abrt %{abrt_gid_uid} - /etc/abrt -
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
@ -496,6 +490,9 @@ CFLAGS="%{optflags} -Werror" %configure \
|
||||||
%if %{without atomic}
|
%if %{without atomic}
|
||||||
--without-atomic \
|
--without-atomic \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{without retrace}
|
||||||
|
--without-retrace \
|
||||||
|
%endif
|
||||||
%ifnarch %{arm}
|
%ifnarch %{arm}
|
||||||
--enable-native-unwinder \
|
--enable-native-unwinder \
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -538,29 +535,28 @@ ln -sf %{_datadir}/applications/org.freedesktop.problems.applet.desktop %{buildr
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
ln -sf %{_bindir}/abrt %{buildroot}%{_bindir}/abrt-cli
|
ln -sf %{_bindir}/abrt %{buildroot}%{_bindir}/abrt-cli
|
||||||
ln -sf %{_mandir}/man1/abrt.1 %{buildroot}%{_mandir}/man1/abrt-cli.1
|
ln -sf %{_mandir}/man1/abrt.1 %{buildroot}%{_mandir}/man1/abrt-cli.1
|
||||||
|
|
||||||
%if ! %{with container_handler}
|
|
||||||
rm -vf %{buildroot}%{python3_sitelib}/abrt3_container.pth
|
|
||||||
rm -vf %{buildroot}%{python3_sitelib}/abrt_exception_handler3_container.py
|
|
||||||
rm -vf %{buildroot}%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# After everything is installed, remove info dir
|
# After everything is installed, remove info dir
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
install -m0644 -D abrt.sysusers.conf %{buildroot}%{_sysusersdir}/abrt.conf
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check|| {
|
make check|| {
|
||||||
# find and print the logs of failed test
|
# find and print the logs of failed test
|
||||||
# do not cat tests/testsuite.log because it contains a lot of bloat
|
# do not cat tests/testsuite.log because it contains a lot of bloat
|
||||||
find src -name "test-suite.log" -print -exec cat '{}' \;
|
find src -name "test-suite.log" -print -exec cat '{}' \;
|
||||||
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
|
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
|
||||||
|
cat src/cli/test-suite.log
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
#uidgid pair 173:173 reserved in setup rhbz#670231
|
||||||
|
%define abrt_gid_uid 173
|
||||||
|
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
|
||||||
|
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
|
||||||
|
exit 0
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# $1 == 1 if install; 2 if upgrade
|
# $1 == 1 if install; 2 if upgrade
|
||||||
%systemd_post abrtd.service
|
%systemd_post abrtd.service
|
||||||
|
|
@ -760,7 +756,6 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
|
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
|
||||||
%{_mandir}/man5/gpg_keys.conf.5*
|
%{_mandir}/man5/gpg_keys.conf.5*
|
||||||
%{_mandir}/man8/abrtd.8*
|
%{_mandir}/man8/abrtd.8*
|
||||||
%{_sysusersdir}/abrt.conf
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/libabrt.so.*
|
%{_libdir}/libabrt.so.*
|
||||||
|
|
@ -809,20 +804,25 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
|
||||||
%{_mandir}/man5/abrt-CCpp.conf.5*
|
%{_mandir}/man5/abrt-CCpp.conf.5*
|
||||||
%{_libexecdir}/abrt-gdb-exploitable
|
%{_libexecdir}/abrt-gdb-exploitable
|
||||||
%{_libexecdir}/abrt-action-coredump
|
|
||||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
|
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
|
||||||
%{_unitdir}/abrt-journal-core.service
|
%{_unitdir}/abrt-journal-core.service
|
||||||
%{_journalcatalogdir}/abrt_ccpp.catalog
|
%{_journalcatalogdir}/abrt_ccpp.catalog
|
||||||
|
|
||||||
%dir %{_localstatedir}/lib/abrt
|
%dir %{_localstatedir}/lib/abrt
|
||||||
|
|
||||||
|
# attr(2755) ~= SETGID
|
||||||
|
%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
|
||||||
|
|
||||||
%{_bindir}/abrt-action-analyze-c
|
%{_bindir}/abrt-action-analyze-c
|
||||||
%{_bindir}/abrt-action-trim-files
|
%{_bindir}/abrt-action-trim-files
|
||||||
|
%{_bindir}/abrt-action-analyze-core
|
||||||
%{_bindir}/abrt-action-analyze-vulnerability
|
%{_bindir}/abrt-action-analyze-vulnerability
|
||||||
|
%{_bindir}/abrt-action-install-debuginfo
|
||||||
%{_bindir}/abrt-action-generate-backtrace
|
%{_bindir}/abrt-action-generate-backtrace
|
||||||
%{_bindir}/abrt-action-generate-core-backtrace
|
%{_bindir}/abrt-action-generate-core-backtrace
|
||||||
%{_bindir}/abrt-action-analyze-backtrace
|
%{_bindir}/abrt-action-analyze-backtrace
|
||||||
%{_bindir}/abrt-action-list-dsos
|
%{_bindir}/abrt-action-list-dsos
|
||||||
|
%{_bindir}/abrt-action-perform-ccpp-analysis
|
||||||
%{_bindir}/abrt-action-analyze-ccpp-local
|
%{_bindir}/abrt-action-analyze-ccpp-local
|
||||||
%{_bindir}/abrt-dump-journal-core
|
%{_bindir}/abrt-dump-journal-core
|
||||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
|
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
|
||||||
|
|
@ -833,6 +833,7 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%{_mandir}/man5/vimrc_event.conf.5*
|
%{_mandir}/man5/vimrc_event.conf.5*
|
||||||
%{_datadir}/libreport/events/analyze_CCpp.xml
|
%{_datadir}/libreport/events/analyze_CCpp.xml
|
||||||
%{_datadir}/libreport/events/analyze_LocalGDB.xml
|
%{_datadir}/libreport/events/analyze_LocalGDB.xml
|
||||||
|
%{_datadir}/libreport/events/analyze_RetraceServer.xml
|
||||||
%{_datadir}/libreport/events/collect_xsession_errors.xml
|
%{_datadir}/libreport/events/collect_xsession_errors.xml
|
||||||
%{_datadir}/libreport/events/collect_GConf.xml
|
%{_datadir}/libreport/events/collect_GConf.xml
|
||||||
%{_datadir}/libreport/events/collect_vimrc_user.xml
|
%{_datadir}/libreport/events/collect_vimrc_user.xml
|
||||||
|
|
@ -844,8 +845,11 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
|
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
|
||||||
%{_mandir}/man*/abrt-action-analyze-backtrace.*
|
%{_mandir}/man*/abrt-action-analyze-backtrace.*
|
||||||
%{_mandir}/man*/abrt-action-list-dsos.*
|
%{_mandir}/man*/abrt-action-list-dsos.*
|
||||||
|
%{_mandir}/man*/abrt-action-install-debuginfo.*
|
||||||
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
|
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
|
||||||
|
%{_mandir}/man*/abrt-action-analyze-core.*
|
||||||
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
|
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
|
||||||
|
%{_mandir}/man*/abrt-action-perform-ccpp-analysis.*
|
||||||
%{_mandir}/man1/abrt-dump-journal-core.1*
|
%{_mandir}/man1/abrt-dump-journal-core.1*
|
||||||
|
|
||||||
%files addon-upload-watch
|
%files addon-upload-watch
|
||||||
|
|
@ -854,6 +858,14 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%{_mandir}/man*/abrt-upload-watch.*
|
%{_mandir}/man*/abrt-upload-watch.*
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with retrace}
|
||||||
|
%files retrace-client
|
||||||
|
%{_bindir}/abrt-retrace-client
|
||||||
|
%{_mandir}/man1/abrt-retrace-client.1*
|
||||||
|
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
|
||||||
|
%{_mandir}/man5/ccpp_retrace_event.conf.5*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files addon-kerneloops
|
%files addon-kerneloops
|
||||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
|
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
|
||||||
%{_journalcatalogdir}/abrt_koops.catalog
|
%{_journalcatalogdir}/abrt_koops.catalog
|
||||||
|
|
@ -921,15 +933,12 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%{python3_sitelib}/abrt_exception_handler3.py
|
%{python3_sitelib}/abrt_exception_handler3.py
|
||||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3.*
|
%{python3_sitelib}/__pycache__/abrt_exception_handler3.*
|
||||||
|
|
||||||
%if %{with container_handler}
|
|
||||||
%files -n python3-abrt-container-addon
|
%files -n python3-abrt-container-addon
|
||||||
%{python3_sitelib}/abrt3_container.pth
|
%{python3_sitelib}/abrt3_container.pth
|
||||||
%{python3_sitelib}/abrt_exception_handler3_container.py
|
%{python3_sitelib}/abrt_exception_handler3_container.py
|
||||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files plugin-machine-id
|
%files plugin-machine-id
|
||||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
|
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
|
||||||
%{_libexecdir}/abrt-action-generate-machine-id
|
%{_libexecdir}/abrt-action-generate-machine-id
|
||||||
|
|
@ -938,6 +947,7 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files tui
|
%files tui
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
|
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
|
||||||
%{_bindir}/abrt
|
%{_bindir}/abrt
|
||||||
%{_bindir}/abrt-cli
|
%{_bindir}/abrt-cli
|
||||||
%{python3_sitelib}/abrtcli/
|
%{python3_sitelib}/abrtcli/
|
||||||
|
|
@ -994,140 +1004,8 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
|
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.8-2
|
* Tue Oct 05 2021 Michal Srb <michal@redhat.com> - 2.14.6-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
- abrt-dbus: Fix SIGSEGV with glib2 >= 2.69.2 (rhbz#1997315)
|
||||||
|
|
||||||
* Thu Dec 04 2025 Michal Srb <michal@redhat.com> - 2.17.8-1
|
|
||||||
- a-a-save-container-data: validate input
|
|
||||||
- Resolves: CVE-2025-12744
|
|
||||||
|
|
||||||
* Thu Oct 02 2025 Michal Srb <michal@redhat.com> - 2.17.7-1
|
|
||||||
- Update to upstream release 2.17.7
|
|
||||||
- Fix reading gpg keys with RPM 6.0.0 (rhbz#2396899)
|
|
||||||
|
|
||||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.17.6-10
|
|
||||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
||||||
|
|
||||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.17.6-9
|
|
||||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
||||||
|
|
||||||
* Fri Aug 01 2025 Adam Williamson <awilliam@redhat.com> - 2.17.6-8
|
|
||||||
- Obsolete fros packages
|
|
||||||
|
|
||||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.6-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.17.6-6
|
|
||||||
- Rebuilt for Python 3.14
|
|
||||||
|
|
||||||
* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.17.6-5
|
|
||||||
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
|
||||||
|
|
||||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.6-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 20 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.17.6-3
|
|
||||||
- Disable Requires for kexec-tools on riscv64 (not supported)
|
|
||||||
|
|
||||||
* Wed Sep 11 2024 Neal Gompa <ngompa@fedoraproject.org> - 2.17.6-2
|
|
||||||
- Drop container handler (rhbz#2295150)
|
|
||||||
|
|
||||||
* Sun Sep 01 2024 Michal Srb <michal@redhat.com> - 2.17.6-1
|
|
||||||
- Update to upstream release 2.17.6
|
|
||||||
- Fix reading signature information from RPM headers (rhbz#2307278)
|
|
||||||
|
|
||||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.5-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 2.17.5-2
|
|
||||||
- Rebuilt for Python 3.13
|
|
||||||
|
|
||||||
* Mon Feb 19 2024 Michal Srb <michal@redhat.com> - 2.17.5-1
|
|
||||||
- Update to upstream release 2.17.5
|
|
||||||
|
|
||||||
* Mon Feb 12 2024 Michal Srb <michal@redhat.com> - 2.17.4-1
|
|
||||||
- Update to upstream release 2.17.4
|
|
||||||
|
|
||||||
* Sun Feb 04 2024 Michal Srb <michal@redhat.com> - 2.17.2-1
|
|
||||||
- Update to upstream release 2.17.2
|
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 2.17.1-2
|
|
||||||
- Rebuilt for Python 3.12
|
|
||||||
|
|
||||||
* Fri Jun 30 2023 Michal Srb <michal@redhat.com> - 2.17.1-1
|
|
||||||
- Update to upstream release 2.17.1
|
|
||||||
|
|
||||||
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 2.17.0-2
|
|
||||||
- Rebuilt for Python 3.12
|
|
||||||
|
|
||||||
* Mon May 22 2023 Matěj Grabovský <mgrabovs@redhat.com> - 2.17.0-1
|
|
||||||
- Update to upstream release 2.17.0
|
|
||||||
- Bump rpm-devel dependency to 4.18
|
|
||||||
|
|
||||||
* Thu Mar 30 2023 Michal Srb <michal@redhat.com> - 2.16.1-1
|
|
||||||
- Update to upstream release 2.16.1
|
|
||||||
|
|
||||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 24 2022 Michal Srb <michal@redhat.com> - 2.16.0-1
|
|
||||||
- Update to upstream release 2.16.0
|
|
||||||
|
|
||||||
* Wed Oct 19 2022 Michal Srb <michal@redhat.com> - 2.15.1-6
|
|
||||||
- abrt-journal: First seek the journal tail and then set filters
|
|
||||||
- Resolves: rhbz#2128662
|
|
||||||
|
|
||||||
* Wed Oct 12 2022 Michal Srb <michal@redhat.com> - 2.15.1-5
|
|
||||||
- abrt-journal: call sd_journal_get_fd() right after sd_journal_open()
|
|
||||||
- Resolves: rhbz#2128662
|
|
||||||
|
|
||||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 16 2022 Michal Srb <michal@redhat.com> - 2.15.1-3
|
|
||||||
- Fix FTBFS
|
|
||||||
- Resolves: rhbz#2093924
|
|
||||||
|
|
||||||
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 2.15.1-2
|
|
||||||
- Rebuilt for Python 3.11
|
|
||||||
|
|
||||||
* Thu Mar 10 2022 Michal Srb <michal@redhat.com> - 2.15.1-1
|
|
||||||
- Update to 2.15.1
|
|
||||||
|
|
||||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 19 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.0-2
|
|
||||||
- Rebuild for testing
|
|
||||||
|
|
||||||
* Mon Jan 17 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.0-1
|
|
||||||
- Bump abrt library version to 1:0:1
|
|
||||||
- cli: Fix path and glob matching for abrt info etc.
|
|
||||||
- abrt-dump-oops: Fix vmcore call trace parsing
|
|
||||||
- Use lazy imports in abrt_exception_handler3
|
|
||||||
- Don't copy coredump to problem dir
|
|
||||||
- Detect Python 3.10 and Perl correctly in abrt-action-save-package-data
|
|
||||||
- Fix calls to deprecated methods in tests
|
|
||||||
- Update translations
|
|
||||||
|
|
||||||
* Wed Jan 12 2022 Miro Hrončok <mhroncok@redhat.com> - 2.14.6-11
|
|
||||||
- Make abrt-tui and python3-abrt-container-addon noarch as they contain no architecture-specific content
|
|
||||||
- Ensure Python bytecode in noarch subpackages is reproducible
|
|
||||||
|
|
||||||
* Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.6-10
|
|
||||||
- Bump release for rebuild
|
|
||||||
|
|
||||||
* Wed Dec 22 2021 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.6-9
|
|
||||||
- Rebuild for satyr 0.39
|
|
||||||
|
|
||||||
* Mon Sep 27 2021 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.6-8
|
* Mon Sep 27 2021 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.6-8
|
||||||
- Use lazy import in the Python exception handler to avoid slowdown in Python
|
- Use lazy import in the Python exception handler to avoid slowdown in Python
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@ product_versions:
|
||||||
decision_context: bodhi_update_push_testing
|
decision_context: bodhi_update_push_testing
|
||||||
subject_type: koji_build
|
subject_type: koji_build
|
||||||
rules:
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||||
|
|
||||||
--- !Policy
|
--- !Policy
|
||||||
|
|
@ -12,4 +15,7 @@ product_versions:
|
||||||
decision_context: bodhi_update_push_stable
|
decision_context: bodhi_update_push_stable
|
||||||
subject_type: koji_build
|
subject_type: koji_build
|
||||||
rules:
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3
|
SHA512 (abrt-2.14.6.tar.gz) = eb1ba2f624d51eeccd203bb23060493347f5a9142fad7d0570d46134071d870a9c66b4fbfb8210e7d6f87c0c039f31eb486d18a36b10fba318e2180aa09df9fe
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,3 @@
|
||||||
summary: Basic smoke test for abrt
|
summary: Basic smoke test for abrt
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
# Do not attempt to install conflicting subpackages.
|
|
||||||
exclude:
|
|
||||||
- abrt-atomic
|
|
||||||
- abrt-java-connector-container
|
|
||||||
- python3-abrt-container-addon
|
|
||||||
execute:
|
execute:
|
||||||
script: abrt-action-notify --help
|
script: abrt-action-notify --help
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue