diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index 1d4a538..643f820 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,33 @@ abrt-1.1.13.tar.gz /abrt-2.10.3.tar.gz /abrt-2.10.4.tar.gz /abrt-2.10.5.tar.gz +/abrt-2.10.6.tar.gz +/abrt-2.10.7.tar.gz +/abrt-2.10.8.tar.gz +/abrt-2.10.9.tar.gz +/abrt-2.10.10.tar.gz +/abrt-2.11.0.tar.gz +/abrt-2.11.1.tar.gz +/abrt-2.12.0.tar.gz +/abrt-2.12.1.tar.gz +/abrt-2.12.2.tar.gz +/abrt-2.13.0.tar.gz +/abrt-2.14.0.tar.gz +/abrt-2.14.1.tar.gz +/abrt-2.14.2.tar.gz +/abrt-2.14.3.tar.gz +/abrt-2.14.4.tar.gz +/abrt-2.14.5.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 diff --git a/abrt-2.10.5_json-c_013.patch b/abrt-2.10.5_json-c_013.patch deleted file mode 100644 index fc7f80a..0000000 --- a/abrt-2.10.5_json-c_013.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 395bbb2cbd9a12ff11068ea29922e1575d4d93b3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= -Date: Sun, 10 Dec 2017 22:59:33 +0100 -Subject: [PATCH] Fix build against libjson-c.so.3 - ---- - src/daemon/abrt-action-save-container-data.c | 2 +- - src/plugins/bodhi.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/daemon/abrt-action-save-container-data.c b/src/daemon/abrt-action-save-container-data.c -index 5d8cdb7..9a5bfa4 100644 ---- a/src/daemon/abrt-action-save-container-data.c -+++ b/src/daemon/abrt-action-save-container-data.c -@@ -141,7 +141,7 @@ void dump_docker_info(struct dump_dir *dd, const char *root_dir) - json = json_tokener_parse(output); - free(output); - -- if (is_error(json)) -+ if (json == NULL) - { - error_msg("Unable parse response from docker"); - goto dump_docker_info_cleanup; -diff --git a/src/plugins/bodhi.c b/src/plugins/bodhi.c -index 84ed4d8..14d65ad 100644 ---- a/src/plugins/bodhi.c -+++ b/src/plugins/bodhi.c -@@ -419,7 +419,7 @@ static GHashTable *bodhi_query_list(const char *query, const char *release) - // log_warning("%s", post_state->body); - - json_object *json = json_tokener_parse(post_state->body); -- if (is_error(json)) -+ if (json == NULL) - error_msg_and_die("fatal: unable parse response from bodhi server"); - - /* we must check the http_resp_code because only error responses contain --- -2.15.1 - diff --git a/abrt.spec b/abrt.spec index 25d1df1..3bdd3fe 100644 --- a/abrt.spec +++ b/abrt.spec @@ -2,120 +2,153 @@ # http://fedoraproject.org/wiki/Hardened_Packages %global _hardened_build 1 -%if 0%{?fedora} >= 14 - %bcond_without systemd +%if 0%{?fedora} || 0%{?rhel} > 7 +# Enable python3 build by default +%bcond_without python3 %else - %bcond_with systemd +%bcond_with python3 %endif -# systemd wasn't set by the code above - so we're on old Fedora or we're not on Fedora at all -%if %{without systemd} - %if 0%{?rhel} >= 7 - %bcond_without systemd - %else - %bcond_with systemd - %endif +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 +%bcond_with container_handler +%else +%bcond_without container_handler +%endif + + +%if 0%{?rhel}%{?suse_version} + %bcond_with bodhi +%else + %bcond_without bodhi %endif # build abrt-atomic subpackage %bcond_without atomic -%ifarch aarch64 -%global have_kexec_tools 0 -%else -%global have_kexec_tools 1 -%endif +# build abrt-retrace-client by default +%bcond_without retrace # rpmbuild --define 'desktopvendor mystring' -%if "x%{desktopvendor}" == "x" - %if %{with systemd} - %global desktopvendor %(source /etc/os-release; echo ${ID}) - %else - %if 0%{?rhel} >= 6 - %global desktopvendor redhat - %else - %if 0%{?suse_version} - %global desktopvendor suse - %else - %global desktopvendor fedora - %endif - %endif - %endif +%if "x%{?desktopvendor}" == "x" + %define desktopvendor %(source /etc/os-release; echo ${ID}) +%endif + +%if 0%{?suse_version} +%define dbus_devel dbus-1-devel +%define libjson_devel libjson-devel +%define shadow_utils pwdutils +%else +%define dbus_devel dbus-devel +%define libjson_devel json-c-devel +%define shadow_utils shadow-utils %endif # do not append package version to doc directory of subpackages in F20 and later; rhbz#993656 %if "%{_pkgdocdir}" == "%{_docdir}/%{name}" - %global docdirversion %{nil} + %define docdirversion %{nil} %else - %global docdirversion -%{version} + %define docdirversion -%{version} %endif -%global libreport_ver 2.9.3 -%global satyr_ver 0.24 +%define glib_ver 2.73.3 +%define libreport_ver 2.17.13 +%define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.10.5 -Release: 6%{?dist} -License: GPLv2+ -Group: Applications/System +Version: 2.17.8 +Release: 2%{?dist} +License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz - -# Needed for libjson-c.so.3*. -# See: https://github.com/json-c/json-c/issues/304 -Patch0: abrt-2.10.5_json-c_013.patch - -# git format-patch %%{Version} --topo-order -N -M; -# i=1; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done - -# '%%autosetup -S git' -> git -BuildRequires: git - -BuildRequires: dbus-devel +BuildRequires: git-core +BuildRequires: %{dbus_devel} +BuildRequires: hostname BuildRequires: gtk3-devel -BuildRequires: glib2-devel >= 2.43 -BuildRequires: rpm-devel >= 4.6 +BuildRequires: glib2-devel >= %{glib_ver} +BuildRequires: rpm-devel >= 6.0.0 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel -BuildRequires: python2-devel -BuildRequires: python3-devel +BuildRequires: make BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: nss-devel +BuildRequires: libsoup3-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: xmlto BuildRequires: libreport-devel >= %{libreport_ver} BuildRequires: satyr-devel >= %{satyr_ver} -BuildRequires: python2-systemd -BuildRequires: python3-systemd BuildRequires: augeas BuildRequires: libselinux-devel -BuildRequires: python2-argcomplete +# Required for the %%{_unitdir} and %%{_tmpfilesdir} macros. +BuildRequires: systemd-rpm-macros +%if %{with python3} +BuildRequires: python3-devel +BuildRequires: python3-systemd BuildRequires: python3-argcomplete -BuildRequires: python2-argh -BuildRequires: python3-argh -BuildRequires: python2-humanize -BuildRequires: python3-humanize +BuildRequires: python3-dbus +%endif Requires: libreport >= %{libreport_ver} Requires: satyr >= %{satyr_ver} - -%if %{with systemd} -Requires: systemd-units +# these only exist on suse +%if 0%{?suse_version} +BuildRequires: dbus-1-glib-devel +Requires: dbus-1-glib %endif + +%{?systemd_requires} +Requires: systemd Requires: %{name}-libs = %{version}-%{release} Requires: python3-%{name} = %{version}-%{release} -Requires(pre): shadow-utils +Requires(pre): %{shadow_utils} +%if %{with python3} Requires: python3-augeas Requires: python3-dbus -Requires: python3-dmidecode -Requires: libreport-plugin-ureport >= %{libreport_ver} +%endif +%ifarch aarch64 i686 x86_64 +Requires: dmidecode +%endif +Requires: libreport-plugin-ureport +%if 0%{?fedora} Requires: libreport-plugin-systemd-journal +%endif +# to fix upgrade path abrt-plugin-sosreport was removed in 2.14.5 version. +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 +BuildRequires: libreport-gtk-devel >= %{libreport_ver} +BuildRequires: gsettings-desktop-schemas-devel >= 3.15 +#addon-ccpp +BuildRequires: gdb-headless +#addon-kerneloops +BuildRequires: systemd-devel +BuildRequires: %{libjson_devel} +%if %{with bodhi} +# plugin-bodhi +BuildRequires: libreport-web-devel >= %{libreport_ver} +%endif +#desktop +#Default config of addon-ccpp requires gdb +BuildRequires: gdb-headless +#dbus +BuildRequires: polkit-devel +%if %{with python3} +#python3-abrt +BuildRequires: python3-pytest +BuildRequires: python3-sphinx +BuildRequires: python3-libreport +#python3-abrt-doc +BuildRequires: python3-devel +%endif %description %{name} is a tool to help users to detect defects in applications and @@ -124,14 +157,12 @@ It uses plugin system to extend its functionality. %package libs Summary: Libraries for %{name} -Group: System Environment/Libraries %description libs Libraries for %{name}. %package devel Summary: Development libraries for %{name} -Group: Development/Libraries Requires: abrt-libs = %{version}-%{release} %description devel @@ -139,14 +170,13 @@ Development libraries and headers for %{name}. %package gui-libs Summary: Libraries for %{name}-gui -Group: System Environment/Libraries +Requires: %{name}-libs = %{version}-%{release} %description gui-libs Libraries for %{name}-gui. %package gui-devel Summary: Development libraries for %{name}-gui -Group: Development/Libraries Requires: abrt-gui-libs = %{version}-%{release} %description gui-devel @@ -154,13 +184,10 @@ Development libraries and headers for %{name}-gui. %package gui Summary: %{name}'s gui -Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Requires: %{name}-dbus = %{version}-%{release} Requires: gnome-abrt Requires: gsettings-desktop-schemas >= 3.15 -BuildRequires: libreport-gtk-devel >= %{libreport_ver} -BuildRequires: gsettings-desktop-schemas-devel >= 3.15 # we used to have abrt-applet, now abrt-gui includes it: Provides: abrt-applet = %{version}-%{release} Obsoletes: abrt-applet < 0.0.5 @@ -171,58 +198,37 @@ Requires: abrt-gui-libs = %{version}-%{release} %description gui GTK+ wizard for convenient bug reporting. -%package addon-coredump-helper -Summary: %{name}'s /proc/sys/kernel/core_pattern helper -Group: System Environment/Libraries -Requires: abrt-libs = %{version}-%{release} - -%description addon-coredump-helper -This package contains hook for C/C++ crashed programs. - %package addon-ccpp Summary: %{name}'s C/C++ addon -Group: System Environment/Libraries Requires: cpio -BuildRequires: gdb-headless -BuildRequires: libcap-devel Requires: gdb-headless Requires: elfutils +# Required for local retracing with GDB. +Requires: elfutils-debuginfod-client %if 0%{!?rhel:1} -# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer: -Requires: %{name}-retrace-client %endif Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} -Requires: %{name}-addon-coredump-helper = %{version}-%{release} -Requires: libreport-python3 +%if %{with python3} +Requires: python3-libreport +%endif +Obsoletes: abrt-addon-coredump-helper <= 2.12.2 +Obsoletes: abrt-retrace-client <= 2.15.1 + %description addon-ccpp This package contains %{name}'s C/C++ analyzer plugin. %package addon-upload-watch Summary: %{name}'s upload addon -Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} %description addon-upload-watch This package contains hook for uploaded problems. -%package retrace-client -Summary: %{name}'s retrace client -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} -Requires: xz -Requires: tar - -%description retrace-client -This package contains the client application for Retrace server -which is able to analyze C/C++ crashes remotely. - %package addon-kerneloops Summary: %{name}'s kerneloops addon -Group: System Environment/Libraries -BuildRequires: systemd-devel Requires: curl Requires: %{name} = %{version}-%{release} %if 0%{!?rhel:1} @@ -236,7 +242,6 @@ system log. %package addon-xorg Summary: %{name}'s Xorg addon -Group: System Environment/Libraries Requires: curl Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} @@ -245,82 +250,74 @@ Requires: abrt-libs = %{version}-%{release} This package contains plugin for collecting Xorg crash information from Xorg log. -%if %{?have_kexec_tools} == 1 %package addon-vmcore Summary: %{name}'s vmcore addon -Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops +# On riscv64, kexec-tools does not compile: +# "configure: error: unsupported architecture riscv64" +%ifnarch riscv64 Requires: kexec-tools +%endif +%if %{with python3} Requires: python3-abrt Requires: python3-augeas +Requires: python3-systemd +%endif +Requires: util-linux %description addon-vmcore This package contains plugin for collecting kernel crash information from vmcore files. -%endif %package addon-pstoreoops Summary: %{name}'s pstore oops addon -Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} Requires: abrt-addon-kerneloops -Obsoletes: abrt-addon-uefioops < 2.1.7 +Obsoletes: abrt-addon-uefioops <= 2.1.6 +Provides: abrt-addon-uefioops = %{version}-%{release} %description addon-pstoreoops This package contains plugin for collecting kernel oopses from pstore storage. +%if %{with bodhi} %package plugin-bodhi Summary: %{name}'s bodhi plugin -BuildRequires: json-c-devel -Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} -BuildRequires: libreport-web-devel >= %{libreport_ver} -Obsoletes: libreport-plugin-bodhi > 0.0.1 +Requires: abrt-libs = %{version}-%{release} +Obsoletes: libreport-plugin-bodhi <= 2.0.10 Provides: libreport-plugin-bodhi = %{version}-%{release} %description plugin-bodhi Search for a new updates in bodhi server. +%endif -%package -n python2-abrt-addon -Summary: %{name}'s addon for catching and analyzing Python exceptions -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} -Requires: python2-systemd -Requires: python2-abrt -# Remove before F30 -Provides: abrt-addon-python = %{version}-%{release} -Provides: abrt-addon-python%{?_isa} = %{version}-%{release} -Obsoletes: abrt-addon-python < %{version}-%{release} - -%description -n python2-abrt-addon -This package contains python hook and python analyzer plugin for handling -uncaught exception in python programs. - +%if %{with python3} %package -n python3-abrt-addon Summary: %{name}'s addon for catching and analyzing Python 3 exceptions -Group: System Environment/Libraries +BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: python3-systemd Requires: python3-abrt -# Remove before F30 -Provides: abrt-addon-python3 = %{version}-%{release} -Provides: abrt-addon-python3%{?_isa} = %{version}-%{release} -Obsoletes: abrt-addon-python3 < %{version}-%{release} %description -n python3-abrt-addon This package contains python 3 hook and python analyzer plugin for handling uncaught exception in python 3 programs. -%package plugin-sosreport -Summary: %{name}'s plugin for building automatic sosreports -Requires: sos -Requires: %{name} = %{version}-%{release} +%if %{with container_handler} +%package -n python3-abrt-container-addon +Summary: %{name}'s container addon for catching Python 3 exceptions +BuildArch: noarch +Conflicts: python3-abrt-addon +Requires: container-exception-logger -%description plugin-sosreport -This package contains a configuration snippet to enable automatic generation -of sosreports for abrt events. +%description -n python3-abrt-container-addon +This package contains python 3 hook and handling uncaught exception in python 3 +programs in container. +%endif + +%endif %package plugin-machine-id Summary: %{name}'s plugin to generate machine_id based off dmidecode @@ -332,58 +329,49 @@ of machine_id for abrt events. %package tui Summary: %{name}'s command line interface -Group: User Interface/Desktops +BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: libreport-cli >= %{libreport_ver} Requires: abrt-libs = %{version}-%{release} Requires: abrt-dbus +%if %{with python3} +Requires: python3-abrt +Requires: abrt-addon-ccpp +Requires: python3-argcomplete + +Provides: %{name}-cli-ng = %{version}-%{release} +Obsoletes: %{name}-cli-ng < 2.12.2 +%endif %description tui This package contains a simple command line client for processing abrt reports in command line environment. -%package cli-ng -Summary: %{name}'s improved command line interface -Group: User Interface/Desktops -Requires: %{name} = %{version}-%{release} -Requires: libreport-cli >= %{libreport_ver} -Requires: abrt-libs = %{version}-%{release} -Requires: abrt-dbus -Requires: python2-abrt -Requires: abrt-addon-ccpp -Requires: python2-argh -Requires: python2-argcomplete -Requires: python2-humanize -Requires: /usr/bin/register-python-argcomplete - -%description cli-ng -New generation command line interface for ABRT - %package cli Summary: Virtual package to make easy default installation on non-graphical environments -Group: Applications/System Requires: %{name} = %{version}-%{release} Requires: abrt-tui Requires: abrt-addon-kerneloops Requires: abrt-addon-pstoreoops -%if %{?have_kexec_tools} == 1 Requires: abrt-addon-vmcore -%endif Requires: abrt-addon-ccpp +%if %{with python3} Requires: python3-abrt-addon +%endif Requires: abrt-addon-xorg -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else -Requires: abrt-retrace-client +%if ! 0%{?rhel} +%if %{with bodhi} Requires: abrt-plugin-bodhi +%endif +%if 0%{!?suse_version:1} Requires: libreport-plugin-bugzilla >= %{libreport_ver} +%endif Requires: libreport-plugin-logger >= %{libreport_ver} Requires: libreport-plugin-ureport >= %{libreport_ver} - +%if 0%{?fedora} Requires: libreport-fedora >= %{libreport_ver} %endif +%endif %description cli Virtual package to install all necessary packages for usage from command line @@ -391,7 +379,6 @@ environment. %package desktop Summary: Virtual package to make easy default installation on desktop environments -Group: User Interface/Desktops # This package gets installed when anything requests bug-buddy - # happens when users upgrade Fn to Fn+1; # or if user just wants "typical desktop installation". @@ -400,31 +387,30 @@ Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops Requires: abrt-addon-pstoreoops -%if %{?have_kexec_tools} == 1 Requires: abrt-addon-vmcore -%endif Requires: abrt-addon-ccpp +%if %{with python3} Requires: python3-abrt-addon +%endif Requires: abrt-addon-xorg -# Default config of addon-ccpp requires gdb -BuildRequires: gdb-headless Requires: gdb-headless -Requires: elfutils Requires: abrt-gui Requires: gnome-abrt -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else -Requires: abrt-retrace-client +%if ! 0%{?rhel} +%if %{with bodhi} Requires: abrt-plugin-bodhi +%endif +%if 0%{!?suse_version:1} Requires: libreport-plugin-bugzilla >= %{libreport_ver} +%endif Requires: libreport-plugin-logger >= %{libreport_ver} Requires: libreport-plugin-ureport >= %{libreport_ver} +%if 0%{?fedora} Requires: libreport-fedora >= %{libreport_ver} %endif +%endif #Requires: abrt-plugin-firefox -Provides: bug-buddy = 2.28.0 +Provides: bug-buddy = %{version}-%{release} %description desktop Virtual package to install all necessary packages for usage from desktop @@ -432,81 +418,34 @@ environment. %if %{with atomic} %package atomic -Summary: Package to make easy default installation on Atomic hosts -Group: Applications/System -Requires: %{name}-addon-coredump-helper = %{version}-%{release} +Summary: Package to make easy default installation on Atomic hosts. +Requires: %{name}-libs = %{version}-%{release} Conflicts: %{name}-addon-ccpp -%endif %description atomic Package to install all necessary packages for usage from Atomic hosts. +%endif %package dbus Summary: ABRT DBus service -Group: Applications/System Requires: %{name} = %{version}-%{release} -BuildRequires: polkit-devel Requires: abrt-libs = %{version}-%{release} +Requires: dbus-tools %description dbus ABRT DBus service which provides org.freedesktop.problems API on dbus and uses PolicyKit to authorize to access the problem data. - -%package -n python2-abrt -Summary: ABRT Python API -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-dbus = %{version}-%{release} -Requires: python2-dbus -Requires: python2-libreport -Requires: python2-gobject-base -%{?python_provide:%python_provide python2-abrt} -# Remove before F30 -Provides: %{name}-python = %{version}-%{release} -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} -BuildRequires: python2-nose -BuildRequires: python2-sphinx -BuildRequires: python2-libreport - -%description -n python2-abrt -High-level API for querying, creating and manipulating -problems handled by ABRT in Python. - -%package -n python2-abrt-doc -Summary: ABRT Python API Documentation -Group: Documentation -BuildArch: noarch -BuildRequires: python2-devel -Requires: %{name} = %{version}-%{release} -Requires: python2-abrt = %{version}-%{release} -# Remove before F30 -Provides: %{name}-python-doc = %{version}-%{release} -Obsoletes: %{name}-python-doc < %{version}-%{release} - -%description -n python2-abrt-doc -Examples and documentation for ABRT Python API. - +%if %{with python3} %package -n python3-abrt Summary: ABRT Python 3 API -Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-dbus = %{version}-%{release} Requires: python3-dbus -Requires: libreport-python3 -%{?python_provide:%python_provide python3-abrt} -# Remove before F30 -Provides: %{name}-python3 = %{version}-%{release} -Provides: %{name}-python3%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python3 < %{version}-%{release} +Requires: python3-libreport Requires: python3-gobject-base -BuildRequires: python3-nose -BuildRequires: python3-sphinx -BuildRequires: libreport-python3 %description -n python3-abrt High-level API for querying, creating and manipulating @@ -514,21 +453,16 @@ problems handled by ABRT in Python 3. %package -n python3-abrt-doc Summary: ABRT Python API Documentation -Group: Documentation BuildArch: noarch -BuildRequires: python3-devel Requires: %{name} = %{version}-%{release} Requires: python3-%{name} = %{version}-%{release} -# Remove before F30 -Provides: %{name}-python3-doc = %{version}-%{release} -Obsoletes: %{name}-python3-doc < %{version}-%{release} %description -n python3-abrt-doc Examples and documentation for ABRT Python 3 API. +%endif %package console-notification Summary: ABRT console notification script -Group: Applications/System Requires: %{name} = %{version}-%{release} Requires: %{name}-cli = %{version}-%{release} @@ -537,35 +471,46 @@ A small script which prints a count of detected problems when someone logs in to the shell %prep -# http://www.rpm.org/wiki/PackagerDocs/Autosetup -# Default '__scm_apply_git' is 'git apply && git commit' but this workflow -# doesn't allow us to create a new file within a patch, so we have to use -# 'git am' (see /usr/lib/rpm/macros for more details) -#%%global __scm_apply_git(qp:m:) %%{__git} am %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex -%autosetup -S git -p 1 +%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 </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 +make check|| { + # find and print the logs of failed test + # do not cat tests/testsuite.log because it contains a lot of bloat + find src -name "test-suite.log" -print -exec cat '{}' \; + find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \; + exit 1 +} %post # $1 == 1 if install; 2 if upgrade %systemd_post abrtd.service %post addon-ccpp -# this is required for transition from 1.1.x to 2.x -# because /cache/abrt-di/* was created under root with root:root -# so 2.x fails when it tries to extract debuginfo there.. -chown -R abrt:abrt %{_localstatedir}/cache/abrt-di -%systemd_post abrt-ccpp.service +# migration from 2.14.1.18 +if [ ! -e "%{_localstatedir}/cache/abrt-di/.migration-group-add" ]; then + chmod -R g+w %{_localstatedir}/cache/abrt-di + touch "%{_localstatedir}/cache/abrt-di/.migration-group-add" +fi + %systemd_post abrt-journal-core.service %journal_catalog_update @@ -630,17 +583,14 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %systemd_post abrt-xorg.service %journal_catalog_update -%post -n python2-abrt-addon -%journal_catalog_update - +%if %{with python3} %post -n python3-abrt-addon %journal_catalog_update +%endif -%if %{?have_kexec_tools} == 1 %post addon-vmcore %systemd_post abrt-vmcore.service %journal_catalog_update -%endif %post addon-pstoreoops %systemd_post abrt-pstoreoops.service @@ -652,7 +602,6 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %systemd_preun abrtd.service %preun addon-ccpp -%systemd_preun abrt-ccpp.service %systemd_preun abrt-journal-core.service %preun addon-kerneloops @@ -661,10 +610,8 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %preun addon-xorg %systemd_preun abrt-xorg.service -%if %{?have_kexec_tools} == 1 %preun addon-vmcore %systemd_preun abrt-vmcore.service -%endif %preun addon-pstoreoops %systemd_preun abrt-pstoreoops.service @@ -676,7 +623,6 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %systemd_postun_with_restart abrtd.service %postun addon-ccpp -%systemd_postun_with_restart abrt-ccpp.service %systemd_postun_with_restart abrt-journal-core.service %postun addon-kerneloops @@ -685,10 +631,8 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %postun addon-xorg %systemd_postun_with_restart abrt-xorg.service -%if %{?have_kexec_tools} == 1 %postun addon-vmcore %systemd_postun_with_restart abrt-vmcore.service -%endif %postun addon-pstoreoops %systemd_postun_with_restart abrt-pstoreoops.service @@ -705,31 +649,17 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : if [ -f /etc/abrt/plugins/CCpp.conf ]; then mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1; fi -ln -sf /etc/abrt/plugins/CCpp_Atomic.conf /etc/abrt/plugins/CCpp.conf -if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then - mv /usr/share/abrt/conf.d/plugins/CCpp.conf /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1; -fi -ln -sf /usr/share/abrt/conf.d/plugins/CCpp_Atomic.conf /usr/share/abrt/conf.d/plugins/CCpp.conf -%systemd_post abrt-coredump-helper.service %preun atomic if [ -L /etc/abrt/plugins/CCpp.conf ]; then rm /etc/abrt/plugins/CCpp.conf fi -if [ -L /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then - rm /usr/share/abrt/conf.d/plugins/CCpp.conf -fi if [ -f /etc/abrt/plugins/CCpp.conf.rpmsave.atomic ]; then mv /etc/abrt/plugins/CCpp.conf.rpmsave.atomic /etc/abrt/plugins/CCpp.conf || exit 1 fi -if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then - mv /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic /usr/share/abrt/conf.d/plugins/CCpp.conf || exit 1 -fi - -%postun atomic -%systemd_postun_with_restart abrt-coredump-helper.service %endif +%if 0%{?rhel} && 0%{?rhel} <= 7 %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig @@ -738,31 +668,32 @@ fi %postun gui-libs -p /sbin/ldconfig +%postun gui +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi +%endif + %posttrans +# update the old problem dirs to contain "type" element service abrtd condrestart >/dev/null 2>&1 || : %posttrans addon-ccpp -# Migrate from abrt-ccpp.service to abrt-journal-core.service -# 'systemctl preset abrt-ccpp.service abrt-journal-core.service' -# is done only for installation by %systemd_post macro but not for package -# upgrade. Following lines affect changes in Fedora preset files in case of -# package upgrade and also starts abrt-journal-core.service and stops -# abrt-ccpp.service if abrt-ccpp.service is running. -# All this has to be done only once because some users want to use -# abrt-ccpp.service instead of the default abrt-journal-core.service. -# Hence we introduced a %{_localstatedir}/lib/abrt/abrt-migrated file to -# mark the migration was done. -if test ! -f %{_localstatedir}/lib/abrt/abrt-migrated ; then - systemctl --no-reload preset abrt-ccpp.service >/dev/null 2>&1 || : - systemctl --no-reload preset abrt-journal-core.service >/dev/null 2>&1 || : - if service abrt-ccpp status >/dev/null 2>&1 ; then - systemctl stop abrt-ccpp >/dev/null 2>&1 || : - systemctl start abrt-journal-core >/dev/null 2>&1 || : - fi - touch %{_localstatedir}/lib/abrt/abrt-migrated +# Regenerate core_backtraces because of missing crash threads +abrtdir=$(grep "^\s*DumpLocation\b" /etc/abrt/abrt.conf | tail -1 | cut -d'=' -f2 | tr -d ' ') +if test -z "$abrtdir"; then + abrtdir=%{default_dump_dir} +fi +if test -d "$abrtdir"; then + for DD in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d` + do + if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then + /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 || : + test -f "$DD/core_backtrace" && chown `stat --format=%U:abrt $DD` "$DD/core_backtrace" || : + fi + done fi -systemctl try-restart abrt-journal-core >/dev/null 2>&1 || : -systemctl try-restart abrt-ccpp >/dev/null 2>&1 || : %posttrans addon-kerneloops service abrt-oops condrestart >/dev/null 2>&1 || : @@ -770,35 +701,26 @@ service abrt-oops condrestart >/dev/null 2>&1 || : %posttrans addon-xorg service abrt-xorg condrestart >/dev/null 2>&1 || : -%if %{?have_kexec_tools} == 1 %posttrans addon-vmcore service abrt-vmcore condrestart >/dev/null 2>&1 || : # Copy the configuration file to plugin's directory test -f /etc/abrt/abrt-harvest-vmcore.conf && { + echo "Moving /etc/abrt/abrt-harvest-vmcore.conf to /etc/abrt/plugins/vmcore.conf" mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf } exit 0 -%endif %posttrans addon-pstoreoops service abrt-pstoreoops condrestart >/dev/null 2>&1 || : -%posttrans addon-upload-watch -service abrt-upload-watch condrestart >/dev/null 2>&1 || : - %posttrans dbus # Force abrt-dbus to restart like we do with the other services killall abrt-dbus >/dev/null 2>&1 || : - %files -f %{name}.lang %doc README.md COPYING -%if %{with systemd} %{_unitdir}/abrtd.service %{_tmpfilesdir}/abrt.conf -%else -%{_initrddir}/abrtd -%endif %{_sbindir}/abrtd %{_sbindir}/abrt-server %{_sbindir}/abrt-auto-reporting @@ -813,22 +735,17 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_bindir}/abrt-action-analyze-python %{_bindir}/abrt-action-analyze-xorg %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf +%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf %config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf -%{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf -%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf -%{_datadir}/%{name}/conf.d/plugins/xorg.conf -%{_mandir}/man5/abrt-xorg.conf.5* %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf -%{_datadir}/%{name}/conf.d/gpg_keys.conf -%{_mandir}/man5/gpg_keys.conf.5* %config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf %{_mandir}/man5/abrt_event.conf.5* %config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf %{_mandir}/man5/smart_event.conf.5* -%dir %attr(0751, root, abrt) %{_localstatedir}/spool/%{name} +%dir %attr(0751, root, abrt) %{default_dump_dir} %dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload # abrtd runs as root -%dir %attr(0755, root, root) %{_localstatedir}/run/%{name} +%ghost %dir %attr(0755, root, root) %{_localstatedir}/run/%{name} %ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket %ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid @@ -839,20 +756,17 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man1/abrt-action-analyze-python.1* %{_mandir}/man1/abrt-action-analyze-xorg.1* %{_mandir}/man1/abrt-auto-reporting.1* -%{_mandir}/man8/abrtd.8* +%{_mandir}/man5/abrt.conf.5* %{_mandir}/man5/abrt-action-save-package-data.conf.5* -# {_mandir}/man5/pyhook.conf.5* +%{_mandir}/man5/gpg_keys.conf.5* +%{_mandir}/man8/abrtd.8* +%{_sysusersdir}/abrt.conf %files libs %{_libdir}/libabrt.so.* -%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf -%{_datadir}/%{name}/conf.d/abrt.conf -%{_mandir}/man5/abrt.conf.5* %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/plugins %dir %{_datadir}/%{name} -%dir %{_datadir}/%{name}/conf.d -%dir %{_datadir}/%{name}/conf.d/plugins # filesystem package should own /usr/share/augeas/lenses directory %{_datadir}/augeas/lenses/abrt.aug @@ -880,53 +794,35 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %{_datadir}/%{name} # all glade, gtkbuilder and py files for gui %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/icons/hicolor/*/status/* -%{_datadir}/%{name}/icons/hicolor/*/status/* %{_datadir}/%{name}/ui/* %{_bindir}/abrt-applet %{_bindir}/system-config-abrt #%%{_bindir}/test-report -%{_datadir}/applications/abrt-applet.desktop -%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop +%{_datadir}/applications/org.freedesktop.problems.applet.desktop +%config(noreplace) %{_sysconfdir}/xdg/autostart/org.freedesktop.problems.applet.desktop +%{_datadir}/dbus-1/services/org.freedesktop.problems.applet.service %{_mandir}/man1/abrt-applet.1* %{_mandir}/man1/system-config-abrt.1* -%files addon-coredump-helper -%{_libexecdir}/abrt-hook-ccpp -%{_sbindir}/abrt-install-ccpp-hook -%{_mandir}/man*/abrt-install-ccpp-hook.* - %files addon-ccpp %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf -%{_datadir}/%{name}/conf.d/plugins/CCpp.conf %{_mandir}/man5/abrt-CCpp.conf.5* %{_libexecdir}/abrt-gdb-exploitable -%{_journalcatalogdir}/abrt_ccpp.catalog -%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf +%{_libexecdir}/abrt-action-coredump %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf -%if %{with systemd} -%{_unitdir}/abrt-ccpp.service %{_unitdir}/abrt-journal-core.service -%else -%{_initrddir}/abrt-ccpp -%endif +%{_journalcatalogdir}/abrt_ccpp.catalog %dir %{_localstatedir}/lib/abrt -# attr(6755) ~= SETUID|SETGID -%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache - %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files -%{_bindir}/abrt-action-analyze-core %{_bindir}/abrt-action-analyze-vulnerability -%{_bindir}/abrt-action-install-debuginfo %{_bindir}/abrt-action-generate-backtrace %{_bindir}/abrt-action-generate-core-backtrace %{_bindir}/abrt-action-analyze-backtrace %{_bindir}/abrt-action-list-dsos -%{_bindir}/abrt-action-perform-ccpp-analysis %{_bindir}/abrt-action-analyze-ccpp-local %{_bindir}/abrt-dump-journal-core %config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf @@ -948,42 +844,23 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-action-generate-core-backtrace.* %{_mandir}/man*/abrt-action-analyze-backtrace.* %{_mandir}/man*/abrt-action-list-dsos.* -%{_mandir}/man*/abrt-action-install-debuginfo.* %{_mandir}/man*/abrt-action-analyze-ccpp-local.* -%{_mandir}/man*/abrt-action-analyze-core.* %{_mandir}/man*/abrt-action-analyze-vulnerability.* -%{_mandir}/man*/abrt-action-perform-ccpp-analysis.* -%{_mandir}/man*/abrt-dump-journal-core.* +%{_mandir}/man1/abrt-dump-journal-core.1* %files addon-upload-watch %{_sbindir}/abrt-upload-watch -%if %{with systemd} %{_unitdir}/abrt-upload-watch.service -%else -%{_initrddir}/abrt-upload-watch -%endif %{_mandir}/man*/abrt-upload-watch.* -%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* -%{_datadir}/libreport/events/analyze_RetraceServer.xml - %files addon-kerneloops %config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf %{_journalcatalogdir}/abrt_koops.catalog %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf %{_mandir}/man5/koops_event.conf.5* %config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf -%{_datadir}/%{name}/conf.d/plugins/oops.conf -%if %{with systemd} %{_unitdir}/abrt-oops.service -%else -%{_initrddir}/abrt-oops -%endif %dir %{_localstatedir}/lib/abrt @@ -999,109 +876,86 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf %{_journalcatalogdir}/abrt_xorg.catalog %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf -%{_mandir}/man5/xorg_event.conf.5* -%if %{with systemd} +%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf %{_unitdir}/abrt-xorg.service -%else -%{_initrddir}/abrt-xorg -%endif %{_bindir}/abrt-dump-xorg %{_bindir}/abrt-dump-journal-xorg %{_mandir}/man1/abrt-dump-xorg.1* %{_mandir}/man1/abrt-dump-journal-xorg.1* +%{_mandir}/man5/abrt-xorg.conf.5* +%{_mandir}/man5/xorg_event.conf.5* -%if %{?have_kexec_tools} == 1 %files addon-vmcore %config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf %{_mandir}/man5/vmcore_event.conf.5* %config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf -%{_datadir}/%{name}/conf.d/plugins/vmcore.conf %{_datadir}/libreport/events/analyze_VMcore.xml -%if %{with systemd} %{_unitdir}/abrt-vmcore.service -%else -%{_initrddir}/abrt-vmcore -%endif %{_sbindir}/abrt-harvest-vmcore %{_bindir}/abrt-action-analyze-vmcore -%{_bindir}/abrt-action-check-oops-for-hw-error %{_bindir}/abrt-action-check-oops-for-alt-component +%{_bindir}/abrt-action-check-oops-for-hw-error %{_mandir}/man1/abrt-harvest-vmcore.1* %{_mandir}/man5/abrt-vmcore.conf.5* %{_mandir}/man1/abrt-action-analyze-vmcore.1* %{_mandir}/man1/abrt-action-check-oops-for-hw-error.1* %{_journalcatalogdir}/abrt_vmcore.catalog %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf -%endif %files addon-pstoreoops -%if %{with systemd} %{_unitdir}/abrt-pstoreoops.service -%else -%{_initrddir}/abrt-pstoreoops -%endif %{_sbindir}/abrt-harvest-pstoreoops %{_bindir}/abrt-merge-pstoreoops %{_mandir}/man1/abrt-harvest-pstoreoops.1* %{_mandir}/man1/abrt-merge-pstoreoops.1* -%files -n python2-abrt-addon -%config(noreplace) %{_sysconfdir}/%{name}/plugins/python.conf -%{_datadir}/%{name}/conf.d/plugins/python.conf -%{_mandir}/man5/abrt-python.conf.5* -# TODO? Do we need %%config(noreplace) in the below line too? -%config(noreplace) %{_sysconfdir}/libreport/events.d/python_event.conf -%{_journalcatalogdir}/abrt_python.catalog -%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf -%{_mandir}/man5/python_event.conf.5* -%{python_sitearch}/abrt*.py* -%{python_sitearch}/abrt.pth - +%if %{with python3} %files -n python3-abrt-addon %config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf -%{_datadir}/%{name}/conf.d/plugins/python3.conf -%{_mandir}/man5/abrt-python3.conf.5* +%{_mandir}/man5/python3-abrt.conf.5* %config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf -%{_journalcatalogdir}/abrt_python3.catalog +%{_journalcatalogdir}/python3_abrt.catalog %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf %{_mandir}/man5/python3_event.conf.5* -%{python3_sitearch}/abrt* -%{python3_sitearch}/__pycache__/abrt* +%{python3_sitelib}/abrt3.pth +%{python3_sitelib}/abrt_exception_handler3.py +%{python3_sitelib}/__pycache__/abrt_exception_handler3.* -%files plugin-sosreport -%defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf +%if %{with container_handler} +%files -n python3-abrt-container-addon +%{python3_sitelib}/abrt3_container.pth +%{python3_sitelib}/abrt_exception_handler3_container.py +%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.* +%endif + +%endif %files plugin-machine-id -%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf %{_libexecdir}/abrt-action-generate-machine-id %files cli %files tui -%{_bindir}/abrt-cli -%{_mandir}/man1/abrt-cli.1* - -%files cli-ng -%{_datadir}/bash-completion/completions/abrt +%if %{with python3} %{_bindir}/abrt -%{python_sitearch}/abrtcli/ +%{_bindir}/abrt-cli +%{python3_sitelib}/abrtcli/ %{_mandir}/man1/abrt.1* +%{_mandir}/man1/abrt-cli.1* +%endif %files desktop %if %{with atomic} %files atomic -%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf -%{_unitdir}/abrt-coredump-helper.service -%{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf %config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf %{_bindir}/abrt-action-save-package-data %{_mandir}/man1/abrt-action-save-package-data.1* %{_mandir}/man5/abrt-action-save-package-data.conf.5* %endif +%if %{with bodhi} %files plugin-bodhi %{_bindir}/abrt-bodhi %{_bindir}/abrt-action-find-bodhi-update @@ -1109,28 +963,17 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_datadir}/libreport/events/analyze_BodhiUpdates.xml %{_mandir}/man1/abrt-bodhi.1* %{_mandir}/man1/abrt-action-find-bodhi-update.1* +%endif %files dbus %{_sbindir}/abrt-dbus -%{_sbindir}/abrt-configuration %{_mandir}/man8/abrt-dbus.8* -%{_mandir}/man8/abrt-configuration.8* %config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml -%if %{?have_kexec_tools} == 1 -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml -%endif -%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml %{_datadir}/dbus-1/system-services/org.freedesktop.problems.service -%{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service %{_datadir}/polkit-1/actions/abrt_polkit.policy %dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/ %dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/ @@ -1138,39 +981,513 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css %config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf -%files -n python2-abrt -%{python_sitearch}/problem/ -%{_mandir}/man5/abrt-python.5* - -%files -n python2-abrt-doc -%{python_sitelib}/problem_examples - +%if %{with python3} %files -n python3-abrt %{python3_sitearch}/problem/ -%{_mandir}/man5/abrt-python3.5* +%{_mandir}/man5/python3-abrt.5* %files -n python3-abrt-doc %{python3_sitelib}/problem_examples +%endif %files console-notification %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog -* Fri Feb 09 2018 Igor Gnatenko - 2.10.5-6 -- Escape macros in %%changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.17.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild -* Wed Feb 07 2018 Fedora Release Engineering - 2.10.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild +* Thu Dec 04 2025 Michal Srb - 2.17.8-1 +- a-a-save-container-data: validate input +- Resolves: CVE-2025-12744 -* Fri Jan 05 2018 Igor Gnatenko - 2.10.5-4 +* Thu Oct 02 2025 Michal Srb - 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 - 2.17.6-10 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 2.17.6-9 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Aug 01 2025 Adam Williamson - 2.17.6-8 +- Obsolete fros packages + +* Wed Jul 23 2025 Fedora Release Engineering - 2.17.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Jun 03 2025 Python Maint - 2.17.6-6 +- Rebuilt for Python 3.14 + +* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek - 2.17.6-5 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Thu Jan 16 2025 Fedora Release Engineering - 2.17.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Nov 20 2024 David Abdurachmanov - 2.17.6-3 +- Disable Requires for kexec-tools on riscv64 (not supported) + +* Wed Sep 11 2024 Neal Gompa - 2.17.6-2 +- Drop container handler (rhbz#2295150) + +* Sun Sep 01 2024 Michal Srb - 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 - 2.17.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 09 2024 Python Maint - 2.17.5-2 +- Rebuilt for Python 3.13 + +* Mon Feb 19 2024 Michal Srb - 2.17.5-1 +- Update to upstream release 2.17.5 + +* Mon Feb 12 2024 Michal Srb - 2.17.4-1 +- Update to upstream release 2.17.4 + +* Sun Feb 04 2024 Michal Srb - 2.17.2-1 +- Update to upstream release 2.17.2 + +* Mon Jan 22 2024 Fedora Release Engineering - 2.17.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.17.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 2.17.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Python Maint - 2.17.1-2 +- Rebuilt for Python 3.12 + +* Fri Jun 30 2023 Michal Srb - 2.17.1-1 +- Update to upstream release 2.17.1 + +* Wed Jun 28 2023 Python Maint - 2.17.0-2 +- Rebuilt for Python 3.12 + +* Mon May 22 2023 Matěj Grabovský - 2.17.0-1 +- Update to upstream release 2.17.0 +- Bump rpm-devel dependency to 4.18 + +* Thu Mar 30 2023 Michal Srb - 2.16.1-1 +- Update to upstream release 2.16.1 + +* Wed Jan 18 2023 Fedora Release Engineering - 2.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Oct 24 2022 Michal Srb - 2.16.0-1 +- Update to upstream release 2.16.0 + +* Wed Oct 19 2022 Michal Srb - 2.15.1-6 +- abrt-journal: First seek the journal tail and then set filters +- Resolves: rhbz#2128662 + +* Wed Oct 12 2022 Michal Srb - 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 - 2.15.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 16 2022 Michal Srb - 2.15.1-3 +- Fix FTBFS +- Resolves: rhbz#2093924 + +* Wed Jun 15 2022 Python Maint - 2.15.1-2 +- Rebuilt for Python 3.11 + +* Thu Mar 10 2022 Michal Srb - 2.15.1-1 +- Update to 2.15.1 + +* Wed Jan 19 2022 Fedora Release Engineering - 2.15.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 19 2022 Matěj Grabovský - 2.15.0-2 +- Rebuild for testing + +* Mon Jan 17 2022 Matěj Grabovský - 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 - 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ý - 2.14.6-10 +- Bump release for rebuild + +* Wed Dec 22 2021 Matěj Grabovský - 2.14.6-9 +- Rebuild for satyr 0.39 + +* Mon Sep 27 2021 Matěj Grabovský - 2.14.6-8 +- Use lazy import in the Python exception handler to avoid slowdown in Python + startup (rhbz#2007664) + +* Wed Jul 21 2021 Fedora Release Engineering - 2.14.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jul 10 2021 Björn Esser - 2.14.6-6 +- Rebuild for versioned symbols in json-c + +* Mon Jun 07 2021 Python Maint - 2.14.6-5 +- Rebuilt for Python 3.10 + +* Fri Jun 04 2021 Python Maint - 2.14.6-3 +- Rebuilt for Python 3.10 + +* Tue May 25 2021 Michal Fabik - 2.14.6-1 +- Add support of master + subkeys gpg. +- hooks: Remove stale workaround for a fixed bug +- cli: Gracefully handle disappearance of problem directory +- libs: Add version info script +- retrace-client: Output task ID to console in batch mode +- retrace-client: Separate commands by commas +- Doc: Improve man page for abrt-action-analyze-vulnerability +- Various memory management and other fixes + +* Fri Apr 30 2021 Sérgio Basto - 2.14.5-4 +- Obsoletes abrt-plugin-sosreport, to fix upgrade path + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.14.5-3 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Mon Jan 25 2021 Fedora Release Engineering - 2.14.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 01 2020 Michal Fabik 2.14.5-1 +- Fix invalid free (rhbz#1895660) +- Fix crash during local processing (rhbz#1881745) +- Fix reported numbers of missing debuginfo packages in abrt-action-install-debuginfo +- Correct the format of NEVRA generated for packages where a problem occurred (rhbz#1900982) +- Drop --raw flag in abrt-action-generate-core-backtrace + +* Tue Oct 13 2020 Matěj Grabovský - 2.14.4-3 +- Add upstream patch for an invalid read bug + +* Thu Sep 24 2020 Matěj Grabovský - 2.14.4-2 +- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1881745 + +* Mon Aug 17 2020 Michal Fabik - 2.14.4-1 +- Fix broken release 2.14.3 +- oops-utils: Respect the 'world-readable' flag +- Decommission libreport_list_free_with_free + +* Thu Aug 13 2020 Michal Fabik - 2.14.3-1 +- plugins: abrt-dump-journal-core: Handle zstd compression +- applet: application: Use GLib for logging +- Replace various utility functions with stock GLib ones +- Various coding style improvements +- Update documentation +- applet: application: Fix crash when processing deferred problems +- dbus: Remove session objects when owner disconnects +- python-problem: Use org.freedesktop.Problems2 API +- abrt-console-notification: Work around noclobber +- daemon: rpm: Use NEVRA instead of ENVRA +- abrtd: Don't delete new problem dirs +- Make sure that former caches are group writable +- Various memory management fixes + +* Thu Aug 13 2020 Adam Williamson - 2.14.2-6 +- Rebuild for libreport soname bump + +* Tue Jul 28 2020 - Ernestas Kulik - 2.14.2-5 +- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1860903 + +* Mon Jul 27 2020 Fedora Release Engineering - 2.14.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 2.14.2-3 +- Rebuilt for Python 3.9 + +* Thu May 21 2020 Ernestas Kulik - 2.14.2-2 +- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1836190 + +* Tue May 12 2020 Michal Fabik - 2.14.2-1 +- Fix broken builds with --enable-authenticated-autoreporting + +* Fri Apr 24 2020 Michal Fabik - 2.14.1-1 +- tests: Add perl, php R and tcl to dont-blame-interpret +- a-a-save-package-data: Add R and tcl to interpreted langs +- a-a-save-package-data: Use regexps to match interpreters +- .travis.yml: Update secret +- plugins: xorg-utils: Loopify parsing +- Add namespace to libreport function and global names +- cli: Correct debug directories in config +- cli: Show defaults in help output +- cli: Fix verbosity option +- cli: Fix descriptions for --since and --until +- autogen.sh: Handle NOCONFIGURE per the Build API +- plugins: journal: Fix ci_mapping being overwritten +- plugins: abrt-journal-core: Don’t assume anything about uid_t +- lib,plugins: Accomodate for multiple debug directories +- dbus: Drop bogus dependency +- dbus: Drop abrt_problems2 +- Drop libcap dependency +- Drop Travis config + +* Tue Apr 21 2020 Björn Esser - 2.14.0-3 +- Rebuild (json-c) + +* Fri Feb 07 2020 Ernestas Kulik - 2.14.0-2 +- Bump libreport dependency + +* Fri Feb 07 2020 Ernestas Kulik - 2.14.0-1 +- Update to 2.14.0 + +* Fri Feb 07 2020 Igor Raits - 2.13.0-5 +- Rebuild for satyr 0.30 + +* Fri Jan 31 2020 Martin Kutlak - 2.13.0-4 +- Add patch to fix build failure with gcc -fno-common +- Initialize bodhi karma values with defaults +- Fix possibly uninitialized variable +- Resolves: #1795820 + +* Tue Jan 28 2020 Fedora Release Engineering - 2.13.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 14 2020 - Ernestas Kulik - 2.13.0-2 +- Drop systemd scriptlets for abrt-ccpp.service + +* Fri Oct 11 2019 Matěj Grabovský 2.13.0-1 +- cli: Use format argument in info command +- cli: Make pretty and format mutually exclusive +- cli: Set PYTHONPATH for tests +- cli: Rework commands +- Remove abrt-hook-ccpp +- spec: Use macros where appropriate +- tests: Use Augeas consistently +- spec: Move config files to corresponding subpackages +- build,spec: Empty config files in /etc/abrt/ +- doc: Update man pages and comments in config files +- plugins: Update in-code defaults +- doc: Correct alignment of heading underlines +- a-dump-journal-core: Purge commented code +- dbus: Remove D-Bus configuration service +- Partly revert removal of default configs +- cli: Tweak problem matching +- plugins: Add satyr flags when building +- cli: Fix warning +- cli: Fix file name +- cli: Use decorator for MATCH positional argument +- cli: match: Iterate dict instead of calling keys() +- cli: Make pylint happier about imports +- cli: Drop unused variables +- cli: utils: Use consistent return +- cli: Improve i18n +- cli: Drop humanize import +- Drop uses of bind_textdomain_codeset() +- gitignore: Update path to generated file after cli-ng move +- tests: runner: Use systemctl instead of service +- autogen.sh: Use autoreconf + +* Thu Oct 03 2019 Miro Hrončok - 2.12.2-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Sat Aug 17 2019 Miro Hrončok - 2.12.2-2 +- Rebuilt for Python 3.8 + +* Thu Aug 01 2019 Ernestas Kulik 2.12.2-1 +- Remove old CLI and move cli-ng subpackage files into tui subpackage + +* Wed Jul 24 2019 Fedora Release Engineering - 2.12.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 12 2019 Martin Kutlak 2.12.1-2 +- Add patch to fix failing action abrt-action-list-dsos on rawhide + +* Wed Jul 03 2019 Martin Kutlak 2.12.1-1 +- Translation updates +- Rename all abrt-python to python3-abrt +- spec: Get rid of python provides +- hooks: abrt-hook-ccpp: Rename CreateCoreBacktrace setting +- Update icon +- non-fatal-mce: prepare oops1.test from template before using it +- meaningful-logs: check relative counts of lines instead of absolute +- oops-processing: fixed oops1.test handling. reworked so each oops has its own phase +- dumpoops: make sure hostname matches in oops_full_hostname.test +- Revert "applet: Add systemd service unit" +- a-a-analyze-c: Fix segfault when saving function name +- Fix grammar in implementation docs +- doc: Update man pages and mention locations of config files +- augeas,build,spec: Remove references to default configs +- daemon,lib: Update default config according to abrt.conf +- plugins: abrt-action-install-debuginfo: Replace uses of exit() +- plugins: abrt-action-install-debuginfo: Catch BrokenPipeError +- plugins: abrt-action-install-debuginfo: Remove unused imports +- daemon: Check return value after reading from channel +- spec: Require dbus-tools +- daemon: Don't process crashes from unpackaged apps by default +- plugins: abrt-action-install-debuginfo: Remove duplicate code +- plugins: abrt-action-install-debuginfo: Remove variable +- plugins: abrt-action-install-debuginfo: Remove comment +- plugins: abrt-action-install-debuginfo: Remove dead assignment +- doc: Fix spelling mistake in path to cache +- doc: Update man page for abrt-handle-upload +- doc: Update man page and help for a-a-install-debuginfo +- Nuke Python 2 support +- plugins: Catch unhandled exception in a-a-g-machine-id +- plugins: retrace-client: Bail out if we can’t get a config +- plugins: retrace-client: Default to HTTPS in RETRACE_SERVER_URI +- plugins: analyze_RetraceServer: Fix default RETRACE_SERVER_URI +- plugins: Fix name of env variable for retrace server +- configure.ac: Add dependency on libcap +- dbus: entry: Don’t claim truncation when there was none +- applet: Add systemd service unit +- spec: Remove obsolete scriptlets +- Makefile.am: Use correct locale when getting date + +* Mon Jun 10 22:13:16 CET 2019 Igor Gnatenko - 2.12.0-4 +- Rebuild for RPM 4.15 + +* Mon Jun 10 15:41:59 CET 2019 Igor Gnatenko - 2.12.0-3 +- Rebuild for RPM 4.15 + +* Tue Feb 5 2019 Ernestas Kulik - 2.12.0-2 +- Bump glib and libreport dependencies + +* Mon Feb 4 2019 Ernestas Kulik - 2.12.0-1 +- Update to 2.12.0 + +* Thu Jan 31 2019 Fedora Release Engineering - 2.11.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jan 27 2019 Igor Gnatenko - 2.11.1-4 - Remove obsolete scriptlets -* Mon Dec 11 2017 Iryna Shcherbina - 2.10.5-3 -- Fix ambiguous Python 2 dependency declarations - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) +* Tue Jan 08 2019 Matej Marusak 2.11.1-2 +- dbus: task: Use modern GLib type macros -* Sun Dec 10 2017 Björn Esser - 2.10.5-2 -- Rebuilt for libjson-c.so.3 +* Tue Jan 08 2019 Matej Marusak 2.11.1-1 +- Translation updates +- a-a-install-debuginfo: Clean cache if we need space +- shellcheck: Use command instead of type +- shellcheck: Check exit code directly with if mycmd +- shellcheck: Suppress shellcheck warning SC1090 +- shellcheck: Use $(...) instead of legacy backticked +- cli: Add a shebang +- applet: Port to GApplication/GNotification +- spec: Add explicit package-version requirement of abrt-libs +- Introduce pylintrc +- augeas: Adjust testsuite to changes in libreport +- signal_is_fatal: generate problem reports for SIGSYS +- plugins: retrace-client: Port to libsoup +- plugins: retrace-client: Fix copy-paste error +- revert: spec: disable addon-vmcore on aarch64 +- spec: turn on --enable-native-unwinder aarch64 +- configure: Replace sphinx-build check with sphinx-build-3 +- a-a-c-o-f-hw-error: Check systemd-journal for MCE logs +- koops: Filter kernel oopses based on logged hostname +- add hostname BR for tests +- add new prepare-data to dist files +- fix tests names for dist target after making templates from them +- fix for MCE events: Bug 1613182 - abrt-cli ignores rsyslog host info and incorrectly assumes that the receiving host had a problem +- dbus: Add configuration for Python3 +- Add . to etc + +* Mon Oct 08 2018 Martin Kutlak 2.11.0-1 +- Translation updates +- plugins: Allow abrt-retrace-client to be optional at build time +- daemon: Fix double closed fd race condition +- sosreport: plugin "general" split into two new plugins +- plugins: Replace vfork with posix_spawn +- gui-config: Remove deprecated GTK functions +- abrtd.service: force abrt-dbus to load changes from conf +- spec: Build python*-abrt-addon packages as noarch +- spec: remove duplicated python3-devel +- spec: set PYTHON variable because of ./py-compile + +* Sat Sep 15 2018 Adam Williamson - 2.10.10-5 +- Backport fix for RHBZ #1629408 (failed gdb backtrace generation) +- Backport fix for deprecated function use (broke build) +- Backport fix for argument error in harvest_vmcore +- Backport fix for missing parameter translations in abrt-hook-ccpp + +* Thu Jul 12 2018 Fedora Release Engineering - 2.10.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jun 18 2018 Miro Hrončok - 2.10.10-3 +- Rebuilt for Python 3.7 + +* Fri Jun 08 2018 Miro Hrončok - 2.10.10-2 +- Set PYTHON to python3 during install to avoid ambiguous python invocation (#1589314) + +* Thu May 31 2018 Matej Marusak 2.10.10-1 +- Translation updates +- Changelog: Update changelog +- Remove dependency on deprecated nss-pem +- spec: abrt do not require python2 +- spec: abrt-addon-ccpp do not require python2 +- spec: drop python2-abrt-addon requires +- spec: fix bugs in python requires +- cores: comment an unclearing statement +- cores: print to stdout +- cores: read all journal files + +* Thu May 10 2018 Matej Habrnal 2.10.9-5 +- abrt do not require python2 if "with python3" + +* Wed May 09 2018 Matej Habrnal 2.10.9-4 +- abrt-addon-ccpp do not require python2 if "with python3" + +* Thu May 03 2018 Matej Habrnal 2.10.9-3 +- drop python2-abrt-addon requires + +* Fri Apr 27 2018 Matej Habrnal 2.10.9-2 +- fix requires for python in spec file + +* Fri Apr 27 2018 Matej Habrnal 2.10.9-1 +- build: conditionalize the Python2 and Python3 +- cli-ng,hooks,python-problem: Allow python to be optional at build time +- spec: fix ambiguous Python 2 dependency declarations +- plugins: a-a-g-machine-id use dmidecode command +- spec: use dmidecode instead of python3-dmidecode +- hooks: use container-exception-logger tool +- spec: container python hooks require cel +- hooks: do not write any additional logs +- a-a-s-package-data: add python3.7 to known Interpreters +- autogen: ignore abrt's python packages +- correctly parse buildrequires from spec file + +* Wed Mar 21 2018 Matej Habrnal 2.10.8-1 +- Translation updates +- spec: use Python3 as default in abrt-cli-ng +- cli-ng: use Python3 as default +- Add a new element 'interpreter' for python problems +- retrace-client: Require nss-pem + +* Mon Feb 26 2018 Matej Habrnal 2.10.7-1 +- Translation updates +- hooks: introduce docker hook for Python2 +- hook: add type to Python3 container exception handler +- spec: introduce docker hook for Python2 +- Add ABRT hexa stickers +- a-container-logger: workaround permission issue in minishift + +* Mon Feb 19 2018 Matej Habrnal 2.10.6-1 +- Translation updates +- hooks: introduce docker hook for Python3 +- spec: introduce Python3 hook for container +- Remove deprecated is_error macro +- ldconfig is not needed in rawhide +- remove python_sitearch macro +- remove python_site macro +- move BuildRequires to top +- remove systemd-units and replace it with systemd macro +- remove init.d services +- a-h-event: Do not deduplicate different containers +- rpm: include epocho in package element if > 0 * Thu Nov 02 2017 Julius Milan 2.10.5-1 - Translation updates @@ -1185,44 +1502,20 @@ killall abrt-dbus >/dev/null 2>&1 || : - a-d-journal-core: Save container cmdline - logging: rename omitted log() to log_warning() -* Wed Sep 27 2017 Martin Kutlak 2.10.4-3 -- Drop GPG check patch for unsigned packages - -* Wed Aug 30 2017 Martin Kutlak 2.10.4-2 -- logging: rename omitted log() to log_warning() - * Mon Aug 28 2017 Matej Habrnal 2.10.4-1 - Translation updates - logging: rename log() to log_warning() - Quick hack to fix build with rpm >= 4.14 +- tests: Crash different binary in infinite event loop +- tests: Revert not sufficient fix +- tests: Reflect field changes in reporter-s-journal +- tests: Get docker-inspect while container is running - cli,dbus: Allow polkit to be optional at build time - spec: add dependency for python{3}-gobject - a-d-journal-core: fix bad condition in creating reason msg - a-d-journal-core: use pid of crashed process in dumpdir name - changelog: update CHANGELOG.md -* Wed Aug 16 2017 Zbigniew Jędrzejewski-Szmek - 2.10.3-7 -- Python 2 binary package renamed to python2-abrt - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 -- Python 3 binary package renamed to python3-abrt -- Add-on packages renamed to python[23]-abrt-addon -- Documentation packages renamed to python[23]-abrt-doc - -* Fri Aug 11 2017 Igor Gnatenko - 2.10.3-6 -- Rebuilt after RPM update (№ 3) - -* Thu Aug 10 2017 Igor Gnatenko - 2.10.3-5 -- Rebuilt for RPM soname bump - -* Thu Aug 10 2017 Igor Gnatenko - 2.10.3-4 -- Rebuilt for RPM soname bump - -* Wed Aug 02 2017 Fedora Release Engineering - 2.10.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.10.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - * Thu Jun 15 2017 Martin Kutlak 2.10.3-1 - Translation updates - applet: add a default action to a notification @@ -1235,14 +1528,7 @@ killall abrt-dbus >/dev/null 2>&1 || : - abrt-journal: adapt to suspicious blacklist addition - koops: add suspicious strings blacklist - build: fix changelog adding in release target -- Resolves: #1452160, #1444924, #1437956 - -* Fri May 19 2017 Matej Habrnal 2.10.2-3 -- abrt-desktop shouldn't require gdb but gdb-headless -- Resolves: #1452336 - -* Thu Apr 27 2017 Matej Habrnal 2.10.2-2 -- create /var/lib/abrt because of abrt-migration +- changelog: update CHANGELOG.md * Tue Apr 25 2017 Matej Habrnal 2.10.2-1 - Translation updates @@ -1253,14 +1539,19 @@ killall abrt-dbus >/dev/null 2>&1 || : - Spelling fixes - Python 3.6 invalid escape sequence deprecation fix - koops_event: add check to restrict reporting of MCEs -- Resolves: #1439821 * Thu Mar 16 2017 Matej Habrnal 2.10.1-1 +- changelog: update CHANGELOG.md +- build: create tarball in release-* target +- spec: sosreport is not a package +- Fix Typo - bodhi: Remove dependency on hawkey - spec: Remove dependency on hawkey - build: do not upload tarball to fedorahosted.org - spec: do not use fedorahosted.org as source +- spec: install new plugins - plugins: introduce Machine ID and SOS report +- Update CHANGELOG.md - build: fix generating list of dependences in autogen.sh - spec: start abrt-journal-core instead of abrt-ccpp - build: fix scratch-build target @@ -1269,81 +1560,112 @@ killall abrt-dbus >/dev/null 2>&1 || : - kernel: modify suspicious string "invalid opcode:" - daemon: Allow rpm to be optional at build time - spec: allow any compression of man pages +- spec: remove defattr +- spec: remove cleaning buildroot +- spec: use versioned provides +- spec: remove changelog entries older than 2 years +- remove Buildroot and Groups tags - spec: recommend libreport-plugin-systemd-journal on Fedoras - doc: document selinux change needed for automatic deletion of reports - ccpp: tell gdb to analyze saved binary image -* Fri Feb 10 2017 Fedora Release Engineering - 2.10.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat Jan 21 2017 Igor Gnatenko - 2.10.0-3 -- Rebuild for xmlrpc-c - -* Wed Jan 18 2017 Matej Habrnal 2.10.0-2 -- daemon: Allow rpm to be optional at build time -- modify kernel's suspicious string "invalid opcode:" -- fix calling of run_event_on_problem_dir in a-a-ureprt -- Resolves: #1413637, #1413451 - -* Mon Jan 02 2017 Matej Habrnal 2.10.0-1 +* Sat Dec 03 2016 Jakub Filak 2.10.0-1 - Translation updates +- spec: bump required libreport and satyr versions - build: make the release-* targets smarter - Add CHANGELOG.md +- a-a-notify: set env var before run report_systemd-journal event - use run_event_on_problem_dir() helper for running events - notify: do not require package element +- spec: add catalog_journal_ccpp_format.conf file +- reporter-s-journal: add formatting file for abrt-journal-core analyser - cli-ng: fix --fmt parameter - python: create analyzer element in dumpdir +- abrt-action-list-dsos: fix typo in vendor variable name +- cli-ng: chown problem before reporting - lib: stop printing out a debug message 'adding: ' +- cli: print out the not-reportable reason - cli: configure libreport to ignore not-reportable +- cli-ng: force reporting even if not-reportable - cli-ng: introduce verbose argument +- Import GObject from gi.repository - ccpp: configure package repositories for correct OS - a-a-s-c-data: adapt to current docker +- daemon: don't drop problems from unknown containers - a-a-s-c-data: correct detection of container type +- spec: install Bodhi event files - bodhi: factor out Bodhi updates lookup into a solo event - problems2: update the documentation -- create crash_function and exception_type elements +- a-a-analyze-python: create exception_type element +- a-a-analyze-xorg: create crash_function into dump dir +- koops: create crash_function element +- a-a-analyze-python: create crash_function element +- a-a-analyze-c: create crash_function element +- spec: add formatting files for reporter-systemd-journal +- reporter-systemd-journal: add formatting files - vmcore: /var/tmp/abrt is no longer a dump location - events: add event report_systemd-journal to all addons - abrt-action-notify: notify to systemd journal +- spec: add abrt's catalog source files - journal-catalog: add abrt's catalog source files - ccpp: retain partial core_backtrace upon error +- ccpp: log waitpid errors +- ccpp: inform users about not supported unwinding +- ccpp: close stdin when we can let the process die - daemon: properly shutdown socket connection - daemon: close forgotten FD to /proc/[pid] +- ccpp: pass proc pid FD instead of pid to *_at fns +- ccpp+daemon: pass valid params to dd_open_item() +- python: remove unused functions from sysexcept hook +- build: add gettext-devel to sysdeps +- spec: add libcap-devel to BRs of addon-ccpp - ccpp: avoid running elfutils under root +- Add abrt-action-analyze-vulnerability to .gitignore +- build: autoge.sh without args configures for debugging - conf: increase MaxCrashReportsSize to 5GiB - ccpp: fast dumping and abrt core limit +- CI: make debugging easier with more log messages - doc: add a guide for ABRT hackers +- vmcore: fix an undefined variable on error path - vmcore: read kdump.conf from an arbitrary location +- ccpp: use libreport 'at' functions +- ccpp: use abort() to exit in debug mode - python2: stop generating dso_list in the process +- python: stop collecting ENVIRON in the process +- abrtd: details of processes from different PID NS - abrtd: save interesting process details - a-a-s-package-data: add python3.6 to known Interpreters +- spec: update gdb Requires - tree-wide: make path to GDB configurable - a-a-ureport: print out exit codes in verbose mode - daemon: stop replacing analyzer with type -* Mon Dec 19 2016 Miro Hrončok - 2.9.0-2 -- Rebuild for Python 3.6 - * Fri Sep 09 2016 Jakub Filak 2.9.0-1 +- spec: install abrt_dbus_event.conf +- dbus: use Problems2 API in abrt-dbus - dbus: Problems2 API implementation +- spec: install Problems2 interfaces +- dbus-doc: rewrite the XML to Problems2 +- Fix memory leaks +- lib: introdcue a function checking post-create name - abrtd: change HTTP response code for duplicate problems to 303 +- autogen: fix typo in usage help string +- daemon: send base names from abrt-server to abrtd - lib: normalize slashes of configured paths - lib: make configuration paths alterable at runtime +- Add generated CCpp.conf to .gitignore - abrt-bodhi: use CCpp PackageManager configuration directive from configure - cli: introduce unsafe reporting for not-reporable problems - handle-event: stop creating post-create lock - daemon: trigger dump location cleanup after detection - hook-ccpp: dump own core file in debug mode -- fix memory leaks - -* Tue Jul 19 2016 Fedora Release Engineering - 2.8.2-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Jul 18 2016 Matej Habrnal 2.8.2-1 - Translation updates - abrt-hook-ccpp: Fix mismatching argument - Allow selinux to be optional at build time - vmcore: use findmnt to get mountpoint +- spec: add utils-linux to vmcore's Require - vmcore: fix finding partitions by UUID and LABEL - a-a-install-debuginfo: Exception may not have an argument errno - koops: do not assume version has 3 levels @@ -1351,7 +1673,6 @@ killall abrt-dbus >/dev/null 2>&1 || : - examples: add oops-kernel-panic-hung-tasks-arm - Add oops processing for kernel panics caused by hung tasks. - abrt-hook-ccpp: save get_fsuid() return values in int variables -- Resolves: #1357264 * Wed May 25 2016 Matej Habrnal 2.8.1-1 - a-dump-journal-xorg: allow *libexec/X* to be executable element @@ -1369,214 +1690,362 @@ killall abrt-dbus >/dev/null 2>&1 || : - a-retrace-client: format security - daemon: avoid infinite crash loops - spec: drop abrt-action-save-kernel-data bits - -* Fri Apr 08 2016 Matej Habrnal 2.8.0-5 - spec: README -> README.md - Add basic documentation - a-a-install-debuginfo: fix BrokenPipe error - a-a-install-debuginfo: make tmpdir variable global - -* Mon Mar 7 2016 Matej Habrnal 2.8.0-4 - python3 addon: workaround a bug in traceback - -* Tue Feb 23 2016 Matej Habrnal 2.8.0-3 -- translation updates -- blacklist Firefox's plugin-container -- turn off compat cores -- Resolves: #1308840 - -* Wed Feb 10 2016 Matej Habrnal 2.8.0-2 -- drop %%e from the core_pattern +- CCpp: turn off compat cores +- a-a-save-package-data: blacklist /usr/lib(64)/firefox/plugin-container +- Fix minor typo: possition -> position +- translations: add missing new line +- Translation updates +- translations: update zanata configuration +- ccpp: drop %e from the core_pattern +- Save Vendor and GPG Fingerprint * Wed Feb 03 2016 Matej Habrnal 2.8.0-1 - a-a-save-package-data: do not blacklist firefox -- Resolves: #1304310 * Tue Feb 02 2016 Matej Habrnal 2.7.2-1 +- ccpp: bug fix - undefined variables +- a-a-c-o-f-hw-error: fix unicode error +- ccpp: use error_msg_ignore_crash() instead of error_msg() - ccpp: add AllowedUsers and AllowedGroups feature +- doc: fix formatting in abrt.conf man page - ccpp: use executable name from pid - a-a-c-o-f-hw-error: do not crash on invalid unicode +- Use %s instead of %d. - configui: link GUI library with libabrt.so +- Do not include system libabrt.h - ccpp: unify log message of ignored crashes - ccpp: add IgnoredPath option +- lib: check_recent_crash_file do not produce error_msg * Mon Nov 23 2015 Jakub Filak 2.7.1-1 -- CVE-2015-5287: switch owner of /var/spool/abrt to 'root' -- CVE-2015-5287: ccpp: save abrt core files only if DebugLevel > 0 -- CVE-2015-5287: ccpp: save abrt core files only to new files -- CVE-2015-5287: abrt configuration: introduce DebugLevel -- CVE-2015-5273: a-a-i-d-to-abrt-cache: make own random temporary directory +- spec: switch owner of the dump location to 'root' +- abrtd: switch owner of the dump location to 'root' +- lib: add convenient wrappers for ensuring writable dir +- ccpp: save abrt core files only to new files +- ccpp: ignore crashes of ABRT binaries if DebugLevel == 0 +- conf: introduce DebugLevel +- a-a-i-d-to-abrt-cache: make own random temporary directory +- update .gitignore - ccpp: make crashes of processes with locked memory not-reportable +- a-a-s-p-data: fix segfault if GPGKeysDir isn't configured +- a-dump-journal-xorg: make journal filter configurable +- doc: a-a-analyze-xorg fix path to conf file +- abrt-journal: use GList instead of char** in abrt_journal_set_journal_filter() - xorg: introduce tool abrt-dump-journal-xorg - abrt-xorg.service: change due to abrt-dump-journal-xorg +- journal: add function abrt_journal_get_next_log_line +- spec: add abrt-dump-journal-xorg to spec file +- xorg: rewrite skip_pfx() function to work with journal msgs +- xorg: introduce library xorg-utils +- dbus: ensure expected bytes width of DBus numbers - a-d-journal-core: set root owner for created dump directory +- doc: add missing man page for abrt-dump-journal-core - spec: add missing man page for abrt-dump-journal-core -- Resolves: #1262252, #1284557 - -* Sat Nov 14 2015 Zbigniew Jędrzejewski-Szmek - 2.7.0-4 -- Update requires on python-argcomplete -- Move completion script to /usr - -* Fri Nov 6 2015 Jakub Filak - 2.7.0-3 -- Rebuilt for Python3.5 rebuild - -* Wed Oct 28 2015 Jakub Filak 2.7.0-2 -- Fix broken problem details in abrt-cli/gnome-abrt * Thu Oct 15 2015 Matej Habrnal 2.7.0-1 +- abrt-python: add problem.chown +- a-a-a-ccpp-local don't delete build_ids +- update .gitignore +- spec: add cli-ng - cli-ng: initial + +* Thu Oct 15 2015 Matej Habrnal 2.6.3-1 - bodhi: introduce wrapper for 'reporter-bugzilla -h' and 'abrt-bodhi' +- remove random code example from abrt-server +- spec: introduce abrt-action-find-bodhi-update +- api: fix pths -> paths rename - handle-event: remove obsolete workaround - remove 'not needed' code +- events: fix example wording - doc: change /var/tmp/abrt to /var/spool/abrt +- doc: actualize core_pattern content in documentation - doc: fix default DumpLocation in abrt.conf man page +- events: improve example +- events: comments not needed anymore +- abrt-retrace-client: use atoll for _size conversion - abrt-dump-xorg: support Xorg log backtraces prefixed by (EE) - -* Tue Sep 15 2015 Matej Habrnal 2.6.2-8 -- doc: actualize the abrt-bodhi man page +- runtests: more verbose fail in get_crash_path +- ureport-auth: force cp/mv when restoring configuration +- runtests: stick to new BZ password rules +- bodhi: fix typo in error messages - bodhi: fix a segfault when testing an os-release opt for 'rawhide' - -* Wed Aug 26 2015 Matej Habrnal 2.6.2-7 +- doc: actualize the abrt-bodhi man page +- autogen: use dnf instead of yum to install dependencies - bodhi: add parsing of error responses - bodhi: add ignoring of Rawhide -- do not break the reporting if a-bodhi fails +- ccpp: do not break the reporting if a-bodhi fails - spec: add hawkey to BRs of abrt-bodhi - introduce bodhi2 to abrt-bodhi +- a-handle-upload: pass bytes to file.write() +- upload a problem data in the EVENT 'notify' +- turn off several post-create scripts for remote problems - convert all 'ex.message' stmts to 'str(ex)' -- don't start reporting of not-reportable problems -- add bash on the package blacklist -- Resolves #1250379 - -* Fri Aug 14 2015 Matej Habrnal 2.6.2-6 -- ccpp - use global TID -- fix comment related to 'MakeCompatCore' option in CCpp.conf -- fix testing of DBus API return codes -- dbus-api: unify reporting of errors -- fix related to conditional compilation of man page -- abrt-auto-reporting: fix related to conditional compilation +- cli: don't start reporting of not-reportable problems +- a-a-s-p-d: add bash on the package blacklist - correct usage of abrt-gdb-exploitable - -* Wed Jul 29 2015 Jakub Filak - 2.6.2-5 -- Add python3-augeas to Requires: (FAF report #529272) - -* Tue Jul 28 2015 Jakub Filak - 2.6.2-4 -- Rebuild for rmplib : https://lists.fedoraproject.org/pipermail/devel/2015-July/212672.html - -* Fri Jul 24 2015 Matej Habrnal 2.6.2-3 -- read vmcore by chunks +- testsutie: first wait_for_hooks, then get_crash_path +- ccpp: use global TID +- ccpp: fix comment related to 'MakeCompatCore' option in CCpp.conf +- cli: fix testing of DBus API return codes +- dbus-api: unify reporting of errors +- doc: fix related to conditional compilation of man page +- abrt-auto-reporting: fix related to conditional compilation +- vmcore: read vmcore by chunks - pass encoded Unicode to hashlib.sha1.update() - abrt-merge-pstoreoops: merge files in descending order -- Resolves #1246459 - -* Wed Jul 22 2015 Matej Habrnal 2.6.2-2 - use gettext instead of lgettext in all python scripts +- gitignore: add a generated man page source file * Fri Jul 17 2015 Jakub Filak 2.6.2-1 -- switch to Python 3 -- reassign components of certain Kernel oopses to xorg-x11-drv-* -- de-prioritize post-mortem processes - applet: do not crash if the new problem has no command_line -- abrt-hook-ccpp: do not crash if generate_core_backtrace fails -- cli: enable authentication for all commands +- ccpp: do not crash if generate_core_backtrace fails +- abrt: Fixup component of select kernel backtraces +- abrtd: de-prioritize post-create event scripts +- spec: switch python Requires to python3 +- switch all python scripts to python3 +- spec: drop abrt-addon-python requires +- a-dump-oops: allow update the problem, if more then one oops found +- cli: use internal command impl in the command process +- cli: remove useless code from print_crash() +- cli: enable authetication for all commands -* Fri Jul 03 2015 Matej Habrnal 2.6.1-1 -- keep the polkit authorization for all clients -- enable polkit authentication on command line -- use TID to find crash thread -- remove PyGObject from all Requires -- update version of gdb because of -ascending -- make it easier to find the backtrace of th crash thread -- save TID in the file 'tid' -- get TID from correct cmd line argument -- add option always generate backtrace locally -- add processor information to sosreport -- update abrt-cli man page -- Resolves #1217901 - -* Tue Jun 16 2015 Fedora Release Engineering - 2.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild +* Thu Jul 02 2015 Matej Habrnal 2.6.1-1 +- dbus: keep the polkit authorization for all clients +- cli: enable polkit authentication on command line +- spec: --enable-dump-time-unwind by default +- ccpp: use TID to find crash thread +- spec: remove PyGObject from all Requires +- spec: update version of gdb because of -ascending +- lib: make it easier to find the backtrace of th crash thread +- ccpp: save TID in the file 'tid' +- ccpp: get TID from correct cmd line argument +- configui: add option always generate backtrace locally +- a-a-p-ccpp-analysis: use ask_yes_no_save_result instead of ask_yes_no_yesforever +- spec: use more appropriate url +- spec: abrt requires libreport-plugin-rhtsupport on rhel +- sosreport: add processor information to sosreport +- doc: update abrt-cli man page * Tue Jun 09 2015 Jakub Filak 2.6.0-1 -- move the default dump location to /var/spool/abrt from /var/tmp/abrt +- spec: add abrt-dbus to Rs of abrt-python +- vmcore: use libreport dd API in the harvestor +- ccpp: don't save the system logs by default +- cli: exit with the number of unreported problems +- spec: restart abrt-dbus in posttrans +- cli: chown before reporting - hooks: use root for owner of all dump directories - ccpp: do not unlink failed and big user cores -- ccpp: don't save the system logs by default -- ccpp: stop reading hs_error.log from /tmp -- ccpp: emulate selinux for creation of compat cores +- ccpp: include the system logs only with root's coredumps - koops: don't save dmesg if kernel.dmesg_restrict=1 -- dbus: validate passed arguments +- daemon, dbus: allow only root to create CCpp, Koops, vmcore and xorg +- daemon: allow only root user to trigger the post-create +- daemon: harden against race conditions in DELETE +- ccpp: revert the UID/GID changes if user core fails +- a-a-i-d-t-a-cache: sanitize umask +- a-a-i-d-t-a-cache: sanitize arguments +- dbus: report invalid element names +- dbus: avoid race-conditions in tests for dum dir availability +- dbus: process only valid sub-directories of the dump location +- lib: add functions validating dump dir +- daemon: use libreport's function checking file name +- configure: move the default dump location to /var/spool +- ccpp: avoid overriding system files by coredump +- spec: add libselinux-devel to BRs +- ccpp: emulate selinux for creation of compat cores +- ccpp: harden dealing with UID/GID +- ccpp: do not use value of /proc/PID/cwd for chdir +- ccpp: do not override existing files by compat cores +- ccpp: stop reading hs_error.log from /tmp +- ccpp: fix symlink race conditions - turn off exploring crashed process's root directories -- abrt-python: bug fixes and improvements -- fixes for CVE-2015-3315, CVE-2015-3142, CVE-2015-1869, CVE-2015-1870 -- fixes for CVE-2015-3147, CVE-2015-3151, CVE-2015-3150, CVE-2015-3159 -- spec: add abrt-dbus to Rs of abrt-python and abrt-cli -- spec: restart abrt-dbus in posttrans - -* Wed May 20 2015 Matej Habrnal 2.5.1-3 -- applet: fix problem info double free -- upload: validate and sanitize uploaded dump directories -- applet: switch to D-Bus methods -- lib: add new kernel taint flags -- abrt-auto-reporting: require rhtsupport.conf file only on RHEL -- doc, polkit: Spelling/grammar fixes -- applet: migrate Autoreporting options to GSettings -- config UI: read glade from a local file first +- abrt-python: add proper PYTHONPATH to test shellscripts +- abrt-python: unify unknown problem type handling +- abrt-python: add not_reportable properties +- spec: remove analyzer to type conversion +- abrt-python: add Python3 problem type +- abrt-python: add id, short_id and path to problem +- abrt-python: add Problem.prefetch_data function +- abrt-python: handle reconnection gracefully - config UI: Automatic reporting from GSettings -- Resolves: #1217901 - -* Mon Apr 13 2015 Jakub Filak 2.5.1-2 -- Remove no longer needed posttrans scriptlet copying analyzer to type +- doc, polkit: Spelling/grammar fixes +- applet: fix problem info double free +- a-a-s-p-d: add new known interpreter to conf file +- config UI: enable options without config files +- config UI: read glade from a local file first +- applet: migrate Autoreporting options to GSettings +- abrt-action-list-dsos: do not decode not existing object +- spec: add AUTHENTICATED_AUTOREPORTING conditional +- abrt-auto-reporting: require rhtsupport.conf file only on RHEL +- lib: add new kernel taint flags +- spec: add a dependency on abrt-dbus to abrt-cli +- cli: do not exit with segfault if dbus fails +- applet: switch to D-Bus methods +- upload: validate and sanitize uploaded dump directories * Thu Apr 09 2015 Jakub Filak 2.5.1-1 - Translation updates - problem: use 'type' element instead of 'analyzer' - cli-status: don't return 0 if there is a problem older than limit -- cli: use the DBus methods for getting problem information - journal-oops: add an argument accepting journal directory +- journal: open journal files from directory - lib: don't expect kernel's version '2.6.*' or '3.*.*' +- cli: use the DBus methods for getting problem information +- libabrt: add wrappers TestElemeExists and GetInfo for one element - dbus: add new method to test existence of an element +- libabrt: add new function fetching full problem data over DBus +- applet: use a shared function for getting problems over DBus - vmcore: generate 'reason' file in all cases +- applet: Fix trivial indentation bug - applet: Don't show report button for unpackaged programs +- applet: fix freeing of the notify problem list - applet: get the list of problems through D-Bus service - -* Fri Mar 20 2015 Jakub Filak 2.5.0-2 -- applet: re-enable notifications of problems not-yet seen problems at start-up +- doc: D-Bus api: make desc of DeleteProblem clearer * Wed Mar 18 2015 Jakub Filak 2.5.0-1 +- applet: cast to correct type to fix a warrning +- applet: Use new problem_create_app_from_env() helper +- doc: add documentation for GetProblemData - dbus: add a new method GetProblemData - abrt_event: run save package data event even if component exists - a-a-s-container-data: add a new argument --root +- spec: add a-a-s-package-data to abrt-atomic - a-a-s-kernel-data: add --root argument - journal-oops: add an argument similar to '--merge' +- spec: let configure generate the spec file - ccpp: create the dump location from standalone hook - retrace-client: stop failing on SSL2 - spec: changes for Atomic hosts +- add stuff necessary for Project Atomic +- Python 3 fixes - ccpp: add support for multiple pkg mngrs - Python 3 compatibility -- Don't allow users to list problems "by hand" +- Revert "dbus: Allow admins to load problems without a password" +- dbus: Allow admins to load problems without a password +- abrtd: Don't allow users to list problems "by hand" +- spec: Don't allow users to list problems "by hand" - spec: abrt-python requires libreport-python to build -* Fri Feb 20 2015 Jakub Filak - 2.4.0-1 -- gracefully handle crashes in containers -- reworked abrt-applet's work-flow -- process unpackaged by default -- support collecting coredumps from systemd-coredumpctl -- search for log lines in journald more efficiently -- support sending micro-reports without the need to save coredump -- create a new package abrt-coredump-helper for Fedora Atomic - -* Fri Nov 07 2014 Jakub Filak - 2.3.0-5 +* Fri Feb 20 2015 Jakub Filak 2.4.0-1 +- spec: factor out core_pattern helper from addon-ccpp +- ccpp: standalone hook +- ccpp: save package data from hook in case of crash in container +- a-a-s-package-data: save data from artifical chroots +- spec: install containers tools +- containers: add utility collecting containers info +- ccpp: add support for containers +- spec: install the daemon's D-Bus configuration file +- daemon: add configuration enabling our name on the System bus +- daemon: get rid of own main loop +- init: set Type of abrtd.service to dbus +- applet: Use libreport's helper to find applications +- applet: Remove unused build information +- build: Fix pkg-config warning related to abrt.pc +- applet: Fix a massive leak in the app detection code +- applet: Remove left-over code from the systray icon +- applet: Use the easy way to detect empty lists +- applet: Fix a number of "problems" memory leaks +- applet: Make problem_info_t refcounted +- applet: If gnome-abrt isn't there, don't offer to report +- applet: Fix multiple notifications for the same problem +- applet: Always defer auto-reporting without a network +- applet: Don't ignore foreign problems if an admin +- applet: Rename problem variable to "pi" +- applet: Remove unused "flags" parameters +- applet: Completely ignore incomplete problems +- applet: Don't ignore repeat problems in the same app +- applet: Fix warning when crash doesn't happen in app +- applet: Remove unused functions +- applet: Remove unused flags +- applet: Rewrite notifications +- applet: Don't run full reports from the applet +- applet: Simplify "report" action +- applet: Add helper to guess .desktop for a cmdline +- applet: Get more details from the crash report +- applet: Ignore other people's problems for non-admins +- applet: Remove handling of "ignored" crashes +- applet: Remove specific persistent notifications handling +- applet: Rename applet to match gnome-abrt +- applet: Initialise libnotify on startup +- applet: Use g_new0() instead of xzalloc() +- applet: Use g_strdup_printf()/g_strdup() +- applet: Move variable inside block where it's used +- daemon: process unpackaged by default +- spec: fix abrt-applet requires +- applet: Fix memory leak in fork_exec_gui() +- applet: Detect whether gnome-abrt is available +- applet: Use GUI_EXECUTABLE macro +- autogen: move configure to the default case +- applet: Use GIO to launch gnome-abrt +- applet: Fix typo in "Oterwise" +- applet: Use symbolic icon instead of abrt's in notifications +- applet: Add some debug to new_dir_exists() +- applet: Require at least libnotify 0.7 +- applet: Fix typo in "cuurent" +- applet: Don't defer sending out uReports +- applet: Use G_SOURCE_REMOVE in timeout callback +- spec: Bump required glib2 version +- applet: Use g_bus_own_name() for single-instance +- applet: Remove status icon +- applet: Use GDBus to filter crash signals +- applet: Remove XSMP support +- build: Launch configure after autogen.sh +- make: make some python depencies optional +- configure: fix typos +- configure: check for python-sphinx and nose +- spec: add gsettings-desktop-schemas to the build requires +- core: use updated dump_fd_info() +- switch from 'analyzer' to 'type' +- spec: install abrt-dump-journal-core stuff +- init: add abrt-journal-core service +- introduce abrt-dump-journal-core +- applet: Remove the automatic crash reporting message dialog +- applet: Remove pre-glib 2.32 code +- applet: Remove pointless custom signal handling +- applet: Use GNetworkMonitor instead of NM directly +- applet: Use GSettings to check whether to send uReports +- Rewrite journalctl invocations: replace grep/tail pipeline with journalctl builtins. +- Don't slurp unbounded amounts of data when invoking journalctl. Fixes #887. +- console-notifications: add timeout +- cli-status: use will_python_exception +- ccpp-hook: move utility functions to hooklib +- ccpp-hook: move /proc/[pid]/ utils to libreport +- abrt-journal: add functions for reading/saving journald state +- Do not use 'bool' in OPT_BOOL() macro : it expects 'int' +- daemon: Own a D-Bus name +- zanata: add gettext mappings +- auto-reporting: add options to specify auth type +- translations: move from transifex to zanata +- spec: add missing augeas dependency +- Only analyze vulnerabilities when coredump present +- abrt-install-ccpp-hook check configuration +- UUID from core backtrace if coredump is missing +- Create core backtrace in unwind hook +- abrt-hook-ccpp: minor refactoring +- vmcore: remove original vmcore file in the last step +- vmcore: catch IOErrors and OSErrors +- python: load the configuration from correct file +- Remove garbage from ccpp_event.conf +- spec: update the required gdb version +- gdb: make gdb aware of the abrt's debuginfo dir +- Revert "gdb: disable loading of auto-loaded files" +- spec: update the URL - koops: improve 'reason' text for page faults -- do not detect Firefox crashes -- make ABRT queiter -- update Package URL - -* Tue Oct 14 2014 Jakub Filak - 2.3.0-4 -- oops: get rid of invalid characters when dumping from journald - -* Mon Oct 13 2014 Jakub Filak - 2.3.0-3 -- applet: show package instead of duphash +- sos: use all valuable plugins +- a-a-g-machine-id: do not print any error from the event handler +- a-a-g-machine-id: omit trailing new-line for one-liners only +- a-a-g-machine-id: suppress its failures in abrt_event.conf +- a-a-g-machine-id: add systemd's machine id +- applet: ensure writable dump directory before reporting +- make ABRT quieter +- journal-oops: use the length result of sd_journal_get_data() - console-notifications: skip non-interactive shells - -* Thu Oct 09 2014 Jakub Filak - 2.3.0-2 +- applet: don't show duphash instead of component +- ureport: attach contact email if configured - console-notifications: use return instead of exit +- Translation updates +- a-a-s-p-d: add firefox on the package blacklist diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..f075ad7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,15 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/sources b/sources index fab8148..4e58c99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.10.5.tar.gz) = 6e334b045efa18f8200447eb142f54d4f68b39d5a470c30b7272778a3ab22c1b55c222fae8657d86e6c78dfd3070f3ddb68f25ee6ca5ca0be4c5463239cbf0ef +SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3 diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..69759b3 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,10 @@ +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: + script: abrt-action-notify --help