From 2e1a0f708ddea72b782457080c3cddbce3caa3b1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 31 2020 09:36:47 +0000 Subject: import abrt-2.1.11-57.el7 --- diff --git a/SOURCES/0323-plugins-Catch-unhandled-exception-in-a-a-g-machine-i.patch b/SOURCES/0323-plugins-Catch-unhandled-exception-in-a-a-g-machine-i.patch new file mode 100644 index 0000000..af04217 --- /dev/null +++ b/SOURCES/0323-plugins-Catch-unhandled-exception-in-a-a-g-machine-i.patch @@ -0,0 +1,45 @@ +From 323931ae023c46370e200483a7c37959309cd9a4 Mon Sep 17 00:00:00 2001 +From: Martin Kutlak +Date: Tue, 21 May 2019 14:55:43 +0000 +Subject: [PATCH] plugins: Catch unhandled exception in a-a-g-machine-id + +dmidecode can fail due to permission denies or any different reasons that +causes dmidecode to return non-zero return code. + +Related: rhbz#1688368 + +cherry picked from commit 53100055cd504fa0d5d56eb9312ece66ba8de49e + +Signed-off-by: Martin Kutlak +--- + src/plugins/abrt-action-generate-machine-id | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/src/plugins/abrt-action-generate-machine-id b/src/plugins/abrt-action-generate-machine-id +index f843d773..fc79b192 100644 +--- a/src/plugins/abrt-action-generate-machine-id ++++ b/src/plugins/abrt-action-generate-machine-id +@@ -23,7 +23,7 @@ + import os + import sys + from argparse import ArgumentParser +-from subprocess import check_output ++from subprocess import check_output, CalledProcessError + import logging + + import hashlib +@@ -52,7 +52,10 @@ def generate_machine_id_dmidecode(): + + # Run dmidecode command + for k in keys: +- data = check_output(["dmidecode", "-s", k]).strip() ++ try: ++ data = check_output(["dmidecode", "-s", k]).strip() ++ except (OSError, CalledProcessError) as ex: ++ raise RuntimeError("Execution of dmidecode failed: {0}".format(str(ex))) + + # Update the hash as we find the fields we are looking for + machine_id.update(data) +-- +2.21.0 + diff --git a/SOURCES/0324-daemon-avoid-infinite-crash-loops.patch b/SOURCES/0324-daemon-avoid-infinite-crash-loops.patch new file mode 100644 index 0000000..ab5142e --- /dev/null +++ b/SOURCES/0324-daemon-avoid-infinite-crash-loops.patch @@ -0,0 +1,122 @@ +From d8ddfcf4e0f7342f362d587a2789d69773a20f1c Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Tue, 21 May 2019 14:56:47 +0000 +Subject: [PATCH] daemon: avoid infinite crash loops + +Export an environment variable as a mark for abrtd (abrt-server) to +identify processes directly involved in ABRT post-mortem processing. + +We must not run post-mortem EVENTs on problem directories caused by ABRT +itself because we could create an infinite loop. + +There are to ways how to handle such directories: + * in non-debug mode: log a short message and remove them without + other actions - we must not leave them in the dump location by + default because the dump location would be growing + + * in debug mode: log a more verbose message and leave them as they + are - we don need to have worries about the dump location growing + because someone intentionally enable the debug mode + +Related: rhbz#1246539 + +cherry-picked from https://github.com/abrt/abrt/commit/68e0efaa36f6d4aabfd8ecf71bf0c22adfc72b03 + +Related: rhbz#1688368 + +Signed-off-by: Martin Kutlak +--- + src/daemon/abrt-server.c | 54 ++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 52 insertions(+), 2 deletions(-) + +diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c +index e1dfc4af..60eb9b66 100644 +--- a/src/daemon/abrt-server.c ++++ b/src/daemon/abrt-server.c +@@ -28,6 +28,7 @@ + /* We exit after this many seconds */ + #define TIMEOUT 10 + ++#define ABRT_SERVER_EVENT_ENV "ABRT_SERVER_PID" + + /* + Unix socket in ABRT daemon for creating new dump directories. +@@ -206,10 +207,11 @@ static pid_t spawn_event_handler_child(const char *dump_dir_name, const char *ev + int flags = EXECFLG_INPUT_NUL | EXECFLG_OUTPUT | EXECFLG_QUIET | EXECFLG_ERR2OUT; + VERB1 flags &= ~EXECFLG_QUIET; + +- char *env_vec[2]; ++ char *env_vec[3]; + /* Intercept ASK_* messages in Client API -> don't wait for user response */ + env_vec[0] = xstrdup("REPORT_CLIENT_NONINTERACTIVE=1"); +- env_vec[1] = NULL; ++ env_vec[1] = xasprintf("%s=%d", ABRT_SERVER_EVENT_ENV, getpid()); ++ env_vec[2] = NULL; + + pid_t child = fork_execv_on_steroids(flags, args, pipeout, + env_vec, /*dir:*/ NULL, +@@ -219,6 +221,23 @@ static pid_t spawn_event_handler_child(const char *dump_dir_name, const char *ev + return child; + } + ++static int problem_dump_dir_was_provoked_by_abrt_event(struct dump_dir *dd, char **provoker) ++{ ++ char *env_var = NULL; ++ const int r = dd_get_env_variable(dd, ABRT_SERVER_EVENT_ENV, &env_var); ++ ++ /* Dump directory doesn't contain the environ file */ ++ if (r == -ENOENT) ++ return 0; ++ ++ if (provoker != NULL) ++ *provoker = env_var; ++ else ++ free(env_var); ++ ++ return env_var != NULL; ++} ++ + static gboolean emit_new_problem_signal(gpointer data) + { + struct waiting_context *context = (struct waiting_context *)data; +@@ -254,6 +273,37 @@ static int run_post_create(const char *dirname) + if (g_settings_privatereports) + { + struct dump_dir *dd = dd_opendir(dirname, DD_OPEN_READONLY); ++ ++ char *provoker = NULL; ++ const bool event_dir = dd && problem_dump_dir_was_provoked_by_abrt_event(dd, &provoker); ++ if (event_dir) ++ { ++ if (g_settings_debug_level == 0) ++ { ++ error_msg("Removing problem provoked by ABRT(pid:%s): '%s'", provoker, dirname); ++ dd_delete(dd); ++ } ++ else ++ { ++ char *dumpdir = NULL; ++ char *event = NULL; ++ char *reason = NULL; ++ char *cmdline = NULL; ++ ++ /* Ignore errors */ ++ dd_get_env_variable(dd, "DUMP_DIR", &dumpdir); ++ dd_get_env_variable(dd, "EVENT", &event); ++ reason = dd_load_text(dd, FILENAME_REASON); ++ cmdline = dd_load_text(dd, FILENAME_CMDLINE); ++ ++ error_msg("ABRT_SERVER_PID=%s;DUMP_DIR='%s';EVENT='%s';REASON='%s';CMDLINE='%s'", ++ provoker, dumpdir, event, reason, cmdline); ++ } ++ ++ free(provoker); ++ return 400; ++ } ++ + const bool complete = dd && problem_dump_dir_is_complete(dd); + dd_close(dd); + if (complete) +-- +2.21.0 + diff --git a/SOURCES/1000-event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch b/SOURCES/1000-event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch deleted file mode 100644 index 9754457..0000000 --- a/SOURCES/1000-event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 316c1cbce56318198dfe4598baf0ae91fec32a56 Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Thu, 22 Jan 2015 02:23:21 +0100 -Subject: [PATCH 1000/1006] event: don't run the 'reporter-bugzilla -h' on RHEL - and CentOS - -Running the 'reporter-bugzilla -h' makes sense only on Fedora because of bodhi. - -Signed-off-by: Matej Habrnal ---- - src/plugins/ccpp_event.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf -index f4f3828..174f491 100644 ---- a/src/plugins/ccpp_event.conf -+++ b/src/plugins/ccpp_event.conf -@@ -71,7 +71,7 @@ EVENT=analyze_LocalGDB analyzer=CCpp - # Run GDB plugin to see if crash looks exploitable - abrt-action-analyze-vulnerability - # Run GDB to genereate backtrace -- abrt-action-analyze-ccpp-local --without-bodhi -+ abrt-action-analyze-ccpp-local --without-bz - - - # Bugzilla requires nonempty duphash --- -1.8.3.1 - diff --git a/SOURCES/1002-plugin-set-URL-to-retrace-server.patch b/SOURCES/1002-plugin-set-URL-to-retrace-server.patch deleted file mode 100644 index b3bbc4d..0000000 --- a/SOURCES/1002-plugin-set-URL-to-retrace-server.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 08a7c9c82f51f95f69de42b8eaa38eb75e71a93a Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Fri, 30 Jan 2015 17:52:25 +0100 -Subject: [PATCH 1002/1006] plugin: set URL to retrace server - -Changed default retrace server URL from localhost to retrace.fedoraproject.org. - -Signed-off-by: Matej Habrnal ---- - src/plugins/analyze_CCpp.xml.in | 2 +- - src/plugins/analyze_RetraceServer.xml.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/plugins/analyze_CCpp.xml.in b/src/plugins/analyze_CCpp.xml.in -index 6f02692..a7ce4dd 100644 ---- a/src/plugins/analyze_CCpp.xml.in -+++ b/src/plugins/analyze_CCpp.xml.in -@@ -26,7 +26,7 @@ - - -diff --git a/src/plugins/analyze_RetraceServer.xml.in b/src/plugins/analyze_RetraceServer.xml.in -index cf1d25a..e437cac 100644 ---- a/src/plugins/analyze_RetraceServer.xml.in -+++ b/src/plugins/analyze_RetraceServer.xml.in -@@ -12,7 +12,7 @@ - - --- -1.8.3.1 - diff --git a/SOURCES/1004-turn-sosreport-off.patch b/SOURCES/1004-turn-sosreport-off.patch deleted file mode 100644 index 1dbccca..0000000 --- a/SOURCES/1004-turn-sosreport-off.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 940249524766fd5e439d093edffb720bebbef199 Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Thu, 20 Nov 2014 11:24:39 +0100 -Subject: [PATCH 1004/1006] turn sosreport off - ---- - src/daemon/abrt_event.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf -index 76d544c..d90bf03 100644 ---- a/src/daemon/abrt_event.conf -+++ b/src/daemon/abrt_event.conf -@@ -67,7 +67,7 @@ EVENT=post-create runlevel= - # Example: if you want to save sosreport immediately at the moment of a crash: - # (alternatively, you can add similar command to EVENT=analyze_foo's, - # if you would rather perform this collection later): --EVENT=post-create -+#EVENT=post-create - nice sosreport --tmp-dir "$DUMP_DIR" --batch \ - --only=anaconda --only=boot --only=devicemapper \ - --only=filesys --only=hardware --only=kernel --only=libraries \ --- -1.8.3.1 - diff --git a/SOURCES/1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch b/SOURCES/1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch deleted file mode 100644 index fde9167..0000000 --- a/SOURCES/1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch +++ /dev/null @@ -1,115 +0,0 @@ -From 035f7e2280686b563709e663d2cd3c42647ef25c Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Mon, 30 Nov 2015 17:13:43 +0100 -Subject: [PATCH 1005/1006] cli list: revert patch - '7966e5737e8d3af43b1ecdd6a823234b8d25931d' - -This patch cannot be in CentOS7 because is related only to RHEL. - -Removing the patch here because previous patches depends on this patch and -cannot be applied without conflict. - -Signed-off-by: Matej Habrnal ---- - configure.ac | 2 -- - src/cli/Makefile.am | 3 +-- - src/cli/list.c | 49 ------------------------------------------------- - 3 files changed, 1 insertion(+), 53 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 02d7e0e..9481b7f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -139,7 +139,6 @@ PLUGINS_CONF_DIR='${sysconfdir}/${PACKAGE_NAME}/plugins' - DEFAULT_PLUGINS_CONF_DIR='${datadir}/${PACKAGE_NAME}/conf.d/plugins' - EVENTS_DIR='${datadir}/libreport/events' - EVENTS_CONF_DIR='${sysconfdir}/libreport/events.d' --WORKFLOWS_DIR='${datadir}/libreport/workflows' - ENABLE_SOCKET_OR_DBUS='-DENABLE_DBUS=1' - DEFAULT_DUMP_DIR_MODE=$($PKG_CONFIG --variable=dd_mode libreport) - LIBREPORT_PLUGINS_CONF_DIR=$($PKG_CONFIG --variable=plugins_conf_dir libreport) -@@ -252,7 +251,6 @@ AC_SUBST(VAR_RUN) - AC_SUBST(PLUGINS_CONF_DIR) - AC_SUBST(DEFAULT_PLUGINS_CONF_DIR) - AC_SUBST(EVENTS_CONF_DIR) --AC_SUBST(WORKFLOWS_DIR) - AC_SUBST(EVENTS_DIR) - AC_SUBST(DEFAULT_DUMP_LOCATION) - AC_SUBST(DEFAULT_DUMP_DIR_MODE) -diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am -index a7c76ef..92dc20a 100644 ---- a/src/cli/Makefile.am -+++ b/src/cli/Makefile.am -@@ -17,8 +17,7 @@ abrt_cli_CFLAGS = \ - -I$(srcdir)/../include \ - -I$(srcdir)/../lib \ - $(LIBREPORT_CFLAGS) \ -- $(POLKIT_AGENT_CFLAGS) \ -- -DWORKFLOWS_DIR=\"${WORKFLOWS_DIR}\" -+ $(POLKIT_AGENT_CFLAGS) - - if SUGGEST_AUTOREPORTING - abrt_cli_CFLAGS += -DSUGGEST_AUTOREPORTING=1 -diff --git a/src/cli/list.c b/src/cli/list.c -index e688d2f..d069695 100644 ---- a/src/cli/list.c -+++ b/src/cli/list.c -@@ -77,55 +77,6 @@ static void print_crash(problem_data_t *problem_data, int detailed, int text_siz - /*names_to_skip:*/ NULL, - /*max_text_size:*/ text_size, - MAKEDESC_SHOW_ONLY_LIST | MAKEDESC_SHOW_URLS); -- -- /* -- * If the problem is reportable and has not yet been reported into RHTS -- * and there is at least one applicable Workflow which contains -- * 'report_RHTSupport' event, then append a short message informing -- * user that he can create a new case in Red Hat Customer Portal. -- */ -- const char *const not_reportable = problem_data_get_content_or_NULL(problem_data, FILENAME_NOT_REPORTABLE); -- const char *const reported_to = not_reportable ? NULL : problem_data_get_content_or_NULL(problem_data, FILENAME_REPORTED_TO); -- report_result_t *const report = !reported_to ? NULL : find_in_reported_to_data(reported_to, "RHTSupport"); -- -- if (!not_reportable && !report) -- { -- /* The lines below should be replaced by something simpler, I'd -- * like to see: -- * GHashTable *possible_worfklows = load_applicable_workflows_for_dump(); -- * -- * However, this feature (rhbz#1055565) is intended for RHEL only -- * and I'm not sure whether it's worth to file another bug against -- * libreport and try to improve libreport public API. -- */ -- const char *const dump_dir_name = problem_data_get_content_or_NULL(problem_data, CD_DUMPDIR); -- GList *const wf_names = list_possible_events_problem_data_glist(problem_data, dump_dir_name, "workflow"); -- GHashTable *const possible_workflows = load_workflow_config_data_from_list(wf_names, WORKFLOWS_DIR); -- g_list_free_full(wf_names, free); -- -- int event_found = 0; -- -- GHashTableIter iter; -- gpointer key = NULL; -- gpointer value = NULL; -- -- g_hash_table_iter_init(&iter, possible_workflows); -- while (!event_found && g_hash_table_iter_next(&iter, &key, &value)) -- { -- GList *const event_names = wf_get_event_names((workflow_t *)value); -- event_found = !!g_list_find_custom(event_names, "report_RHTSupport", (GCompareFunc)g_strcmp0); -- g_list_free_full(event_names, free); -- } -- -- g_hash_table_destroy(possible_workflows); -- -- if (event_found) -- { -- char *tmp = xasprintf(_("%sRun 'abrt-cli report %s' for creating a case in Red Hat Customer Portal\n"), desc, dump_dir_name); -- free(desc); -- desc = tmp; -- } -- } - } - fputs(desc, stdout); - free(desc); --- -1.8.3.1 - diff --git a/SOURCES/event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch b/SOURCES/event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch deleted file mode 100644 index 334986f..0000000 --- a/SOURCES/event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 6c95ae2bf1c80530442a516f23b7cd8e82dcae12 Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Thu, 22 Jan 2015 02:23:21 +0100 -Subject: [PATCH 88/91] event: don't run the 'reporter-bugzilla -h' on RHEL and - CentOS - -Running the 'reporter-bugzilla -h' makes sense only on Fedora because of bodhi. - -Signed-off-by: Matej Habrnal ---- - src/plugins/ccpp_event.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf -index 62ff08a..cd75ee2 100644 ---- a/src/plugins/ccpp_event.conf -+++ b/src/plugins/ccpp_event.conf -@@ -71,7 +71,7 @@ EVENT=analyze_LocalGDB analyzer=CCpp - # Run GDB plugin to see if crash looks exploitable - abrt-action-analyze-vulnerability - # Run GDB to genereate backtrace -- abrt-action-analyze-ccpp-local --without-bodhi -+ abrt-action-analyze-ccpp-local --without-bz - - - # Bugzilla requires nonempty duphash --- -1.8.3.1 - diff --git a/SOURCES/plugin-set-URL-to-retrace-server.patch b/SOURCES/plugin-set-URL-to-retrace-server.patch deleted file mode 100644 index b2dc31a..0000000 --- a/SOURCES/plugin-set-URL-to-retrace-server.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 81181a893b91a229e05a5a915cc98347126e3834 Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Fri, 30 Jan 2015 17:52:25 +0100 -Subject: [PATCH 90/91] plugin: set URL to retrace server - -Changed default retrace server URL from localhost to retrace.fedoraproject.org. - -Signed-off-by: Matej Habrnal ---- - src/plugins/analyze_CCpp.xml.in | 2 +- - src/plugins/analyze_RetraceServer.xml.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/plugins/analyze_CCpp.xml.in b/src/plugins/analyze_CCpp.xml.in -index 6f02692..a7ce4dd 100644 ---- a/src/plugins/analyze_CCpp.xml.in -+++ b/src/plugins/analyze_CCpp.xml.in -@@ -26,7 +26,7 @@ - - -diff --git a/src/plugins/analyze_RetraceServer.xml.in b/src/plugins/analyze_RetraceServer.xml.in -index cf1d25a..e437cac 100644 ---- a/src/plugins/analyze_RetraceServer.xml.in -+++ b/src/plugins/analyze_RetraceServer.xml.in -@@ -12,7 +12,7 @@ - - --- -1.8.3.1 - diff --git a/SOURCES/turn-sosreport-off.patch b/SOURCES/turn-sosreport-off.patch deleted file mode 100644 index e570138..0000000 --- a/SOURCES/turn-sosreport-off.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2b02dc85753e4b11f10bfa2d660aa493ae80c52b Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Thu, 20 Nov 2014 11:24:39 +0100 -Subject: [PATCH] turn sosreport off - ---- - src/daemon/abrt_event.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf -index 380b312..eafee17 100644 ---- a/src/daemon/abrt_event.conf -+++ b/src/daemon/abrt_event.conf -@@ -67,7 +67,7 @@ EVENT=post-create runlevel= - # Example: if you want to save sosreport immediately at the moment of a crash: - # (alternatively, you can add similar command to EVENT=analyze_foo's, - # if you would rather perform this collection later): --EVENT=post-create -+#EVENT=post-create - nice sosreport --tmp-dir "$DUMP_DIR" --batch \ - --only=anaconda --only=boot --only=devicemapper \ - --only=filesys --only=hardware --only=kernel --only=libraries \ --- -1.8.3.1 - diff --git a/SPECS/abrt.spec b/SPECS/abrt.spec index cbd649c..00af832 100644 --- a/SPECS/abrt.spec +++ b/SPECS/abrt.spec @@ -27,13 +27,13 @@ %define desktopvendor fedora %endif -%define libreport_ver 2.1.11-43 +%define libreport_ver 2.1.11-46 %define satyr_ver 0.13-10 Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.1.11 -Release: 55%{?dist} +Release: 57%{?dist} License: GPLv2+ Group: Applications/System URL: https://abrt.readthedocs.org/ @@ -397,15 +397,13 @@ Patch319: 0319-koops-Filter-kernel-oopses-based-on-logged-hostname.patch Patch321: 0321-daemon-Fix-double-closed-fd-race-condition.patch Patch322: 0322-hooks-ccpp-Honor-CreateCoreBacktrace.patch # git format-patch 2.1.11-53.el7 -N --start-number 323 --topo-order +Patch323: 0323-plugins-Catch-unhandled-exception-in-a-a-g-machine-i.patch +Patch324: 0324-daemon-avoid-infinite-crash-loops.patch +# git format-patch 2.1.11-56.el7 -N --start-number=325 --topo-order # autogen.sh is need to regenerate all the Makefile files -Patch1006: 1000-Add-autogen.sh.patch -Patch1000: 1000-event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch -Patch1002: 1002-plugin-set-URL-to-retrace-server.patch -Patch1004: 1004-turn-sosreport-off.patch -Patch1005: 1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch - +Patch1000: 1000-Add-autogen.sh.patch # git is need for '%%autosetup -S git' which automatically applies all the # patches above. Please, be aware that the patches must be generated @@ -521,8 +519,10 @@ Group: System Environment/Libraries Requires: cpio Requires: gdb >= 7.6.1-63 Requires: elfutils +%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: libreport-python @@ -637,13 +637,8 @@ Requires: abrt-addon-ccpp Requires: abrt-addon-python Requires: abrt-addon-xorg %if 0%{?rhel} -%if 0%{?centos_ver} -Requires: libreport-centos >= %{libreport_ver} -Requires: libreport-plugin-mantisbt >= %{libreport_ver} -%else Requires: libreport-rhel >= %{libreport_ver} Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%endif %else Requires: abrt-retrace-client Requires: libreport-plugin-bugzilla >= %{libreport_ver} @@ -676,13 +671,8 @@ Requires: elfutils Requires: abrt-gui Requires: gnome-abrt %if 0%{?rhel} -%if 0%{?centos_ver} -Requires: libreport-centos >= %{libreport_ver} -Requires: libreport-plugin-mantisbt >= %{libreport_ver} -%else Requires: libreport-rhel >= %{libreport_ver} Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%endif %else Requires: abrt-retrace-client Requires: libreport-plugin-bugzilla >= %{libreport_ver} @@ -766,7 +756,8 @@ CFLAGS="%{optflags} -Werror -Wno-error=deprecated-declarations" %configure --ena --enable-native-unwinder \ %endif --enable-dump-time-unwind \ - --enable-suggest-autoreporting + --enable-suggest-autoreporting \ + --enable-authenticated-autoreporting make %{?_smp_mflags} %install @@ -1242,14 +1233,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog -* Tue Aug 06 2019 CentOS Sources - 2.1.11-55.el7.centos -- Drop RHTS hint -- Change by David Mansfield -- Per http://bugs.centos.org/view.php?id=7192 -- Remove cli suggestion text patch -- set URL to retrace server -- update to not run sosreport -- Per http://bugs.centos.org/view.php?id=7913 +* Mon Aug 19 2019 Ernestas Kulik - 2.1.11-57 +- Drop patch for test suite + +* Tue Aug 13 2019 Ernestas Kulik - 2.1.11-56 +- Add patches for #1688368 * Wed Mar 20 2019 Ernestas Kulik - 2.1.11-55 - Add patch for #1677476