diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 643f820..16cc618 100644 --- a/.gitignore +++ b/.gitignore @@ -71,19 +71,3 @@ abrt-1.1.13.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/0001-applet-Pass-instance-pointer-to-signal-handler.patch b/0001-applet-Pass-instance-pointer-to-signal-handler.patch new file mode 100644 index 0000000..9010657 --- /dev/null +++ b/0001-applet-Pass-instance-pointer-to-signal-handler.patch @@ -0,0 +1,28 @@ +From 5618985d3d7f830ebba0ef78e2ee6d3d6f9f6c55 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Fri, 15 May 2020 15:49:59 +0200 +Subject: [PATCH] applet: Pass instance pointer to signal handler + +Some fallout from 802a40a2f7c971b6533162e70b860e01ae3b5a27. + +https://bugzilla.redhat.com/show_bug.cgi?id=1836190 +--- + src/applet/abrt-applet-application.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index d982c9f9..8ea653bb 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -177,7 +177,7 @@ abrt_applet_application_init (AbrtAppletApplication *self) + g_signal_connect (network_monitor, "notify::connectivity", + G_CALLBACK (on_connectivity_changed), self); + g_signal_connect (network_monitor, "notify::network-available", +- G_CALLBACK (on_connectivity_changed), NULL); ++ G_CALLBACK (on_connectivity_changed), self); + + self->deferred_problems = g_ptr_array_new_with_free_func (g_object_unref); + } +-- +2.26.2 + diff --git a/0002-applet-Chain-up-in-dispose.patch b/0002-applet-Chain-up-in-dispose.patch new file mode 100644 index 0000000..7d749e1 --- /dev/null +++ b/0002-applet-Chain-up-in-dispose.patch @@ -0,0 +1,26 @@ +From b08e7cbd26704b0a5400fdfab1f3f2e3922b102f Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Fri, 15 May 2020 15:50:50 +0200 +Subject: [PATCH] applet: Chain up in dispose() + +Also something missed in 802a40a2f7c971b6533162e70b860e01ae3b5a27. +--- + src/applet/abrt-applet-application.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index 8ea653bb..52ed5529 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -985,6 +985,8 @@ abrt_applet_application_dispose (GObject *object) + self = ABRT_APPLET_APPLICATION (object); + + g_clear_pointer (&self->deferred_problems, g_ptr_array_unref); ++ ++ G_OBJECT_CLASS (abrt_applet_application_parent_class)->dispose (object); + } + + static void +-- +2.26.2 + diff --git a/0003-applet-application-Fix-crash-when-processing-deferre.patch b/0003-applet-application-Fix-crash-when-processing-deferre.patch new file mode 100644 index 0000000..1cb1394 --- /dev/null +++ b/0003-applet-application-Fix-crash-when-processing-deferre.patch @@ -0,0 +1,59 @@ +From b28fcc053db224c11f1f88d2885eba88d60a7322 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Tue, 28 Jul 2020 15:39:43 +0200 +Subject: [PATCH] applet: application: Fix crash when processing deferred + +Currently, when processing the deferred problems, if reporting fails, +the problem is re-added to the queue, but the object is not +re-referenced, leading to invalid reads later on. +--- + src/applet/abrt-applet-application.c | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c +index 28e55135..4716524b 100644 +--- a/src/applet/abrt-applet-application.c ++++ b/src/applet/abrt-applet-application.c +@@ -771,11 +771,9 @@ handle_event_output_cb (GIOChannel *gio, + gpointer data) + { + EventProcessingState *state; +- AbrtAppletProblemInfo *problem_info; + int status; + + state = data; +- problem_info = state->problem_info; + + /* Read streamed data and split lines */ + for (;;) +@@ -836,21 +834,23 @@ handle_event_output_cb (GIOChannel *gio, + + if (WIFEXITED (status) && WEXITSTATUS (status) == EXIT_STOP_EVENT_RUN) + { +- abrt_applet_problem_info_set_known (problem_info, true); ++ abrt_applet_problem_info_set_known (state->problem_info, true); + status = 0; + } + + if (status == 0) + { +- abrt_applet_problem_info_set_reported (problem_info, true); ++ abrt_applet_problem_info_set_reported (state->problem_info, true); + + log_debug ("fast report finished successfully"); +- abrt_applet_application_send_problem_notification (state->application, problem_info); ++ abrt_applet_application_send_problem_notification (state->application, ++ state->problem_info); + } + else + { + log_debug ("fast report failed, deferring"); +- g_ptr_array_add (state->application->deferred_problems, problem_info); ++ g_ptr_array_add (state->application->deferred_problems, ++ g_steal_pointer (&state->problem_info)); + } + + event_processing_state_free (state); +-- +2.26.2 + diff --git a/0004-daemon-rpm-Use-NEVRA-instead-of-ENVRA.patch b/0004-daemon-rpm-Use-NEVRA-instead-of-ENVRA.patch new file mode 100644 index 0000000..2ffb878 --- /dev/null +++ b/0004-daemon-rpm-Use-NEVRA-instead-of-ENVRA.patch @@ -0,0 +1,208 @@ +From 7013e4e0de5d3f1538475a92b08687924f5e01c2 Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Wed, 3 Jun 2020 14:49:50 +0200 +Subject: [PATCH] daemon: rpm: Use NEVRA instead of ENVRA + +libdnf is only able to parse package names in the NEVRA form, leading to +retrace-server bailing when retracing dumps from, say, gedit. + +Closes https://github.com/abrt/abrt/issues/1378 +Fixes https://github.com/abrt/retrace-server/issues/233 +--- + src/daemon/abrt-action-save-package-data.c | 12 +++++------ + src/daemon/rpm.c | 25 +++++++++++----------- + src/daemon/rpm.h | 8 +++---- + 3 files changed, 23 insertions(+), 22 deletions(-) + +diff --git a/src/daemon/abrt-action-save-package-data.c b/src/daemon/abrt-action-save-package-data.c +index 9373c2b1..de926383 100644 +--- a/src/daemon/abrt-action-save-package-data.c ++++ b/src/daemon/abrt-action-save-package-data.c +@@ -228,7 +228,7 @@ static bool is_path_blacklisted(const char *path) + return false; + } + +-static struct pkg_envra *get_script_name(const char *cmdline, char **executable, const char *chroot) ++static struct pkg_nevra *get_script_name(const char *cmdline, char **executable, const char *chroot) + { + // TODO: we don't verify that python executable is not modified + // or that python package is properly signed +@@ -237,7 +237,7 @@ static struct pkg_envra *get_script_name(const char *cmdline, char **executable, + * This will work only if the cmdline contains the whole path. + * Example: python /usr/bin/system-control-network + */ +- struct pkg_envra *script_pkg = NULL; ++ struct pkg_nevra *script_pkg = NULL; + char *script_name = get_argv1_if_full_path(cmdline); + if (script_name) + { +@@ -271,7 +271,7 @@ static int SavePackageDescriptionToDebugDump(const char *dump_dir_name, const ch + char *rootdir = NULL; + char *package_short_name = NULL; + char *fingerprint = NULL; +- struct pkg_envra *pkg_name = NULL; ++ struct pkg_nevra *pkg_name = NULL; + char *component = NULL; + char *kernel = NULL; + int error = 1; +@@ -353,7 +353,7 @@ static int SavePackageDescriptionToDebugDump(const char *dump_dir_name, const ch + if (g_regex_match_simple(DEFAULT_INTERPRETERS_REGEX, basename, G_REGEX_EXTENDED, /*MatchFlags*/0) || + g_list_find_custom(settings_Interpreters, basename, (GCompareFunc)g_strcmp0)) + { +- struct pkg_envra *script_pkg = get_script_name(cmdline, &executable, chroot); ++ struct pkg_nevra *script_pkg = get_script_name(cmdline, &executable, chroot); + /* executable may have changed, check it again */ + if (is_path_blacklisted(executable)) + { +@@ -379,7 +379,7 @@ static int SavePackageDescriptionToDebugDump(const char *dump_dir_name, const ch + goto ret0; + } + +- free_pkg_envra(pkg_name); ++ free_pkg_nevra(pkg_name); + pkg_name = script_pkg; + } + +@@ -460,7 +460,7 @@ skip_interpreter: + free(executable); + free(rootdir); + free(package_short_name); +- free_pkg_envra(pkg_name); ++ free_pkg_nevra(pkg_name); + free(component); + free(fingerprint); + +diff --git a/src/daemon/rpm.c b/src/daemon/rpm.c +index 07ad227e..d39901a6 100644 +--- a/src/daemon/rpm.c ++++ b/src/daemon/rpm.c +@@ -282,7 +282,7 @@ char* rpm_get_component(const char *filename, const char *rootdir_or_NULL) + + #ifdef HAVE_LIBRPM + #define pkg_add_id(name) \ +- static inline int pkg_add_##name(Header header, struct pkg_envra *p) \ ++ static inline int pkg_add_##name(Header header, struct pkg_nevra *p) \ + { \ + const char *errmsg = NULL; \ + p->p_##name = headerFormat(header, "%{"#name"}", &errmsg); \ +@@ -294,8 +294,8 @@ char* rpm_get_component(const char *filename, const char *rootdir_or_NULL) + return -1; \ + } \ + +-pkg_add_id(epoch); + pkg_add_id(name); ++pkg_add_id(epoch); + pkg_add_id(version); + pkg_add_id(release); + pkg_add_id(arch); +@@ -303,14 +303,14 @@ pkg_add_id(vendor); + #endif + + // caller is responsible to free returned value +-struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_or_NULL) ++struct pkg_nevra *rpm_get_package_nvr(const char *filename, const char *rootdir_or_NULL) + { + #ifdef HAVE_LIBRPM + rpmts ts; + rpmdbMatchIterator iter; + Header header; + +- struct pkg_envra *p = NULL; ++ struct pkg_nevra *p = NULL; + + if (rpm_query_file(&ts, &iter, &header, filename, rootdir_or_NULL) < 0) + return NULL; +@@ -320,6 +320,11 @@ struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_ + + p = libreport_xzalloc(sizeof(*p)); + int r; ++ ++ r = pkg_add_name(header, p); ++ if (r) ++ goto error; ++ + r = pkg_add_epoch(header, p); + if (r) + goto error; +@@ -333,10 +338,6 @@ struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_ + p->p_epoch = libreport_xstrdup("0"); + } + +- r = pkg_add_name(header, p); +- if (r) +- goto error; +- + r = pkg_add_version(header, p); + if (r) + goto error; +@@ -356,14 +357,14 @@ struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_ + if (strcmp(p->p_epoch, "0") == 0) + p->p_nvr = libreport_xasprintf("%s-%s-%s", p->p_name, p->p_version, p->p_release); + else +- p->p_nvr = libreport_xasprintf("%s:%s-%s-%s", p->p_epoch, p->p_name, p->p_version, p->p_release); ++ p->p_nvr = libreport_xasprintf("%s-%s:%s-%s", p->p_name, p->p_epoch, p->p_version, p->p_release); + + rpmdbFreeIterator(iter); + rpmtsFree(ts); + return p; + + error: +- free_pkg_envra(p); ++ free_pkg_nevra(p); + + rpmdbFreeIterator(iter); + rpmtsFree(ts); +@@ -373,14 +374,14 @@ struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_ + #endif + } + +-void free_pkg_envra(struct pkg_envra *p) ++void free_pkg_nevra(struct pkg_nevra *p) + { + if (!p) + return; + + free(p->p_vendor); +- free(p->p_epoch); + free(p->p_name); ++ free(p->p_epoch); + free(p->p_version); + free(p->p_release); + free(p->p_arch); +diff --git a/src/daemon/rpm.h b/src/daemon/rpm.h +index 1fd56e8f..90821f81 100644 +--- a/src/daemon/rpm.h ++++ b/src/daemon/rpm.h +@@ -26,17 +26,17 @@ + extern "C" { + #endif + +-struct pkg_envra { ++struct pkg_nevra { + char *p_nvr; +- char *p_epoch; + char *p_name; ++ char *p_epoch; + char *p_version; + char *p_release; + char *p_arch; + char *p_vendor; + }; + +-void free_pkg_envra(struct pkg_envra *p); ++void free_pkg_nevra(struct pkg_nevra *p); + + /** + * Checks if an application is modified by third party. +@@ -85,7 +85,7 @@ char *rpm_get_fingerprint(const char* pkg); + * @param filename A file name. + * @return A package name (malloc'ed string) + */ +-struct pkg_envra *rpm_get_package_nvr(const char *filename, const char *rootdir_or_NULL); ++struct pkg_nevra *rpm_get_package_nvr(const char *filename, const char *rootdir_or_NULL); + /** + * Finds a main package for given file. This package contains particular + * file. If the file doesn't belong to any package, empty string is +-- +2.26.2 + diff --git a/abrt.spec b/abrt.spec index 3bdd3fe..37119c6 100644 --- a/abrt.spec +++ b/abrt.spec @@ -9,13 +9,6 @@ %bcond_with python3 %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 @@ -29,7 +22,7 @@ %bcond_without retrace # rpmbuild --define 'desktopvendor mystring' -%if "x%{?desktopvendor}" == "x" +%if "x%{desktopvendor}" == "x" %define desktopvendor %(source /etc/os-release; echo ${ID}) %endif @@ -50,32 +43,36 @@ %define docdirversion -%{version} %endif -%define glib_ver 2.73.3 -%define libreport_ver 2.17.13 +%define libreport_ver 2.13.0 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.17.8 -Release: 2%{?dist} -License: GPL-2.0-or-later +Version: 2.14.2 +Release: 4%{?dist} +License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +Patch0: 0001-applet-Pass-instance-pointer-to-signal-handler.patch +Patch1: 0002-applet-Chain-up-in-dispose.patch +Patch2: 0003-applet-application-Fix-crash-when-processing-deferre.patch +Patch3: 0004-daemon-rpm-Use-NEVRA-instead-of-ENVRA.patch + BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname BuildRequires: gtk3-devel -BuildRequires: glib2-devel >= %{glib_ver} -BuildRequires: rpm-devel >= 6.0.0 +BuildRequires: glib2-devel >= 2.43.4 +BuildRequires: rpm-devel >= 4.6 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel #why? BuildRequires: file-devel -BuildRequires: make BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: libsoup3-devel +BuildRequires: libsoup-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: xmlto @@ -83,13 +80,10 @@ BuildRequires: libreport-devel >= %{libreport_ver} BuildRequires: satyr-devel >= %{satyr_ver} BuildRequires: augeas BuildRequires: libselinux-devel -# Required for the %%{_unitdir} and %%{_tmpfilesdir} macros. -BuildRequires: systemd-rpm-macros %if %{with python3} BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete -BuildRequires: python3-dbus %endif Requires: libreport >= %{libreport_ver} @@ -113,16 +107,12 @@ Requires: python3-dbus Requires: dmidecode %endif Requires: libreport-plugin-ureport +%if 0%{?rhel} +Requires: libreport-plugin-rhtsupport +%endif %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} @@ -203,9 +193,11 @@ Summary: %{name}'s C/C++ addon Requires: cpio Requires: gdb-headless Requires: elfutils -# Required for local retracing with GDB. -Requires: elfutils-debuginfod-client %if 0%{!?rhel:1} +%if %{with retrace} +# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer: +Requires: %{name}-retrace-client +%endif %endif Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} @@ -213,7 +205,6 @@ Requires: abrt-libs = %{version}-%{release} Requires: python3-libreport %endif Obsoletes: abrt-addon-coredump-helper <= 2.12.2 -Obsoletes: abrt-retrace-client <= 2.15.1 %description addon-ccpp @@ -227,6 +218,20 @@ Requires: abrt-libs = %{version}-%{release} %description addon-upload-watch This package contains hook for uploaded problems. +%if %{with retrace} +%package retrace-client +Summary: %{name}'s retrace client +Requires: %{name} = %{version}-%{release} +Requires: xz +Requires: tar +Requires: p11-kit-trust +Requires: libsoup + +%description retrace-client +This package contains the client application for Retrace server +which is able to analyze C/C++ crashes remotely. +%endif + %package addon-kerneloops Summary: %{name}'s kerneloops addon Requires: curl @@ -254,15 +259,10 @@ log. Summary: %{name}'s vmcore addon 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 @@ -275,8 +275,7 @@ Summary: %{name}'s pstore oops addon Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} Requires: abrt-addon-kerneloops -Obsoletes: abrt-addon-uefioops <= 2.1.6 -Provides: abrt-addon-uefioops = %{version}-%{release} +Obsoletes: abrt-addon-uefioops %description addon-pstoreoops This package contains plugin for collecting kernel oopses from pstore storage. @@ -285,8 +284,7 @@ This package contains plugin for collecting kernel oopses from pstore storage. %package plugin-bodhi Summary: %{name}'s bodhi plugin Requires: %{name} = %{version}-%{release} -Requires: abrt-libs = %{version}-%{release} -Obsoletes: libreport-plugin-bodhi <= 2.0.10 +Obsoletes: libreport-plugin-bodhi > 0.0.1 Provides: libreport-plugin-bodhi = %{version}-%{release} %description plugin-bodhi @@ -305,10 +303,8 @@ Requires: python3-abrt This package contains python 3 hook and python analyzer plugin for handling uncaught exception in python 3 programs. -%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 @@ -317,7 +313,14 @@ This package contains python 3 hook and handling uncaught exception in python 3 programs in container. %endif -%endif +%package plugin-sosreport +Summary: %{name}'s plugin for building automatic sosreports +Requires: sos >= 3.6 +Requires: %{name} = %{version}-%{release} + +%description plugin-sosreport +This package contains a configuration snippet to enable automatic generation +of sosreports for abrt events. %package plugin-machine-id Summary: %{name}'s plugin to generate machine_id based off dmidecode @@ -329,7 +332,6 @@ of machine_id for abrt events. %package tui Summary: %{name}'s command line interface -BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: libreport-cli >= %{libreport_ver} Requires: abrt-libs = %{version}-%{release} @@ -359,7 +361,13 @@ Requires: abrt-addon-ccpp Requires: python3-abrt-addon %endif Requires: abrt-addon-xorg -%if ! 0%{?rhel} +%if 0%{?rhel} +Requires: libreport-rhel >= %{libreport_ver} +Requires: libreport-plugin-rhtsupport >= %{libreport_ver} +%else +%if %{with retrace} +Requires: abrt-retrace-client +%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -396,7 +404,13 @@ Requires: abrt-addon-xorg Requires: gdb-headless Requires: abrt-gui Requires: gnome-abrt -%if ! 0%{?rhel} +%if 0%{?rhel} +Requires: libreport-rhel >= %{libreport_ver} +Requires: libreport-plugin-rhtsupport >= %{libreport_ver} +%else +%if %{with retrace} +Requires: abrt-retrace-client +%endif %if %{with bodhi} Requires: abrt-plugin-bodhi %endif @@ -474,15 +488,9 @@ to the shell %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex %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 + %post # $1 == 1 if install; 2 if upgrade %systemd_post abrtd.service %post addon-ccpp -# 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 - +# 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-journal-core.service %journal_catalog_update @@ -760,7 +769,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/abrt-action-save-package-data.conf.5* %{_mandir}/man5/gpg_keys.conf.5* %{_mandir}/man8/abrtd.8* -%{_sysusersdir}/abrt.conf %files libs %{_libdir}/libabrt.so.* @@ -809,20 +817,25 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf %{_mandir}/man5/abrt-CCpp.conf.5* %{_libexecdir}/abrt-gdb-exploitable -%{_libexecdir}/abrt-action-coredump %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf %{_unitdir}/abrt-journal-core.service %{_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 @@ -833,6 +846,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/vimrc_event.conf.5* %{_datadir}/libreport/events/analyze_CCpp.xml %{_datadir}/libreport/events/analyze_LocalGDB.xml +%{_datadir}/libreport/events/analyze_RetraceServer.xml %{_datadir}/libreport/events/collect_xsession_errors.xml %{_datadir}/libreport/events/collect_GConf.xml %{_datadir}/libreport/events/collect_vimrc_user.xml @@ -844,8 +858,11 @@ 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}/man1/abrt-dump-journal-core.1* %files addon-upload-watch @@ -854,6 +871,14 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man*/abrt-upload-watch.* +%if %{with retrace} +%files retrace-client +%{_bindir}/abrt-retrace-client +%{_mandir}/man1/abrt-retrace-client.1* +%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf +%{_mandir}/man5/ccpp_retrace_event.conf.5* +%endif + %files addon-kerneloops %config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf %{_journalcatalogdir}/abrt_koops.catalog @@ -921,14 +946,14 @@ killall abrt-dbus >/dev/null 2>&1 || : %{python3_sitelib}/abrt_exception_handler3.py %{python3_sitelib}/__pycache__/abrt_exception_handler3.* -%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-sosreport +%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf %files plugin-machine-id %config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf @@ -938,6 +963,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %files tui %if %{with python3} +%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion %{_bindir}/abrt %{_bindir}/abrt-cli %{python3_sitelib}/abrtcli/ @@ -994,222 +1020,12 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog -* Fri Jan 16 2026 Fedora Release Engineering - 2.17.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild +* Thu Dec 17 2020 Matěj Grabovský - 2.14.2-4 +- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1900982 -* Thu Dec 04 2025 Michal Srb - 2.17.8-1 -- a-a-save-container-data: validate input -- Resolves: CVE-2025-12744 - -* 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 +* Tue Jul 28 2020 - Ernestas Kulik - 2.14.2-3 - 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 @@ -1236,9 +1052,6 @@ killall abrt-dbus >/dev/null 2>&1 || : - 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 diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index f075ad7..0000000 --- a/gating.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- !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 4e58c99..ad6df13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.17.8.tar.gz) = 90b74229412e0186bfa109ee940a60c9f3c0f7ce8c1216acad6f05619a1bb591e7f0bae87363143a05034312c9f14fe5ace341b84f680780ceb93a1e624705b3 +SHA512 (abrt-2.14.2.tar.gz) = 020bd0550c41b2358a718a4f0f0c3a839d86fd46fc0c4f4cfc4b7d7f851baf2d5179e008ac1912b350f9f0fbfbfee94e422de3aadce5eb0f7f84a04f233349ff diff --git a/tests/smoke.fmf b/tests/smoke.fmf deleted file mode 100644 index 69759b3..0000000 --- a/tests/smoke.fmf +++ /dev/null @@ -1,10 +0,0 @@ -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