diff --git a/SOURCES/0274-python-provide-more-information-about-exception.patch b/SOURCES/0274-python-provide-more-information-about-exception.patch new file mode 100644 index 0000000..491090c --- /dev/null +++ b/SOURCES/0274-python-provide-more-information-about-exception.patch @@ -0,0 +1,45 @@ +From e12300d1a8ec7e61db2838cb0b7c3dce193f1464 Mon Sep 17 00:00:00 2001 +From: Martin Kutlak +Date: Mon, 10 Apr 2017 13:56:17 +0200 +Subject: [PATCH] python: provide more information about exception + +Message was modified to provide more information about where exception happened. + +$ python -c 1/0 + +Before: +python: detected unhandled Python exception + +Now: +python: detected unhandled Python exception in 'interactive mode (python -c ...)' + +Related to: #1361116 + +Signed-off-by: Martin Kutlak +Signed-off-by: Matej Habrnal + +Conflicts: + src/hooks/abrt_exception_handler3.py.in + tests/runtests/python3-addon/runtest.sh +--- + src/hooks/abrt_exception_handler.py.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/hooks/abrt_exception_handler.py.in b/src/hooks/abrt_exception_handler.py.in +index 7455663..dacde37 100644 +--- a/src/hooks/abrt_exception_handler.py.in ++++ b/src/hooks/abrt_exception_handler.py.in +@@ -220,7 +220,9 @@ def handleMyException((etype, value, tb)): + ## argv0 is:-c + # Are there other cases when sys.argv[0][0] is "-"? + if not sys.argv[0] or sys.argv[0][0] == "-": +- syslog("detected unhandled Python exception") ++ einfo = "" if not sys.argv[0] else " (python %s ...)" % sys.argv[0] ++ syslog("detected unhandled Python exception in 'interactive mode%s'" ++ % einfo) + raise Exception + + # Ignore scripts with relative path unless "RequireAbsolutePath = no". +-- +1.8.3.1 + diff --git a/SOURCES/0276-Translation-updates.patch b/SOURCES/0276-Translation-updates.patch new file mode 100644 index 0000000..27ee142 --- /dev/null +++ b/SOURCES/0276-Translation-updates.patch @@ -0,0 +1,477 @@ +From a14728448321f220ae50e8e50fa9031816cc93e8 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Thu, 10 Aug 2017 12:53:40 +0200 +Subject: [PATCH] Translation updates + +Related to #1271213 + +Signed-off-by: Matej Habrnal +--- + po/de.po | 9 +++++---- + po/es.po | 24 +++++++++++++++++------- + po/fr.po | 11 +++++++---- + po/it.po | 8 ++++---- + po/ja.po | 21 +++++++++------------ + po/ko.po | 8 ++++---- + po/pt_BR.po | 17 +++++++++++------ + po/ru.po | 12 +++++++----- + po/zh_CN.po | 13 +++++++------ + po/zh_TW.po | 11 ++++++----- + 10 files changed, 77 insertions(+), 57 deletions(-) + +diff --git a/po/de.po b/po/de.po +index a53667a..bbefefa 100644 +--- a/po/de.po ++++ b/po/de.po +@@ -13,7 +13,8 @@ + # noxin , 2013 + # Rainer Gromansperg , 2013 + # Roman Spirgi , 2011-2012 +-# mhabrnal , 2017. #zanata ++# Hedda Peters , 2015. #zanata ++# Roman Spirgi , 2015. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -22,13 +23,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2015-07-16 08:12-0400\n" ++"Last-Translator: Hedda Peters \n" + "Language-Team: German (http://www.transifex.com/projects/p/fedora-abrt/" + "language/de/)\n" + "Language: de\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +diff --git a/po/es.po b/po/es.po +index a661355..ba70814 100644 +--- a/po/es.po ++++ b/po/es.po +@@ -19,7 +19,12 @@ + # Luis Bazán , 2011 + # Israel Torres , 2013 + # vareli , 2013 +-# mhabrnal , 2017. #zanata ++# Alex Puchades , 2015. #zanata ++# Gerardo Rosales , 2015. #zanata ++# Gladys Guerrero Lozano , 2015. #zanata ++# Jakub Filak , 2015. #zanata ++# Máximo Castañeda Riloba , 2016. #zanata ++# Máximo Castañeda Riloba , 2017. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -28,13 +33,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2017-05-20 08:25-0400\n" ++"Last-Translator: Máximo Castañeda Riloba \n" + "Language-Team: Spanish (http://www.transifex.com/projects/p/fedora-abrt/" + "language/es/)\n" + "Language: es\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +@@ -251,7 +256,7 @@ msgstr "Informe acortado" + + #: ../src/configuration-gui/abrt-config-widget.glade.h:4 + msgid "Silent shortened reporting" +-msgstr "Informe acortado en silencio" ++msgstr "Presentación silenciosa de informes acortados" + + #: ../src/configuration-gui/abrt-config-widget.glade.h:5 + msgid "" +@@ -2111,12 +2116,12 @@ msgstr "No se puede encontrar el problema '%s'" + #: ../src/cli/report.c:52 + #, c-format + msgid "Problem '%s' cannot be reported" +-msgstr "" ++msgstr "No se puede informar del problema '%s'" + + #: ../src/cli/report.c:57 + #, c-format + msgid "Problem '%s' is labeled as 'not-reportable'?" +-msgstr "" ++msgstr "¿Está marcado el problema '%s' como 'no informar'?" + + #: ../src/cli/report.c:78 ../src/cli/process.c:70 + #, c-format +@@ -2134,6 +2139,8 @@ msgstr "Elimina PROBLEM_DIR después de reportarlos" + #: ../src/cli/report.c:106 ../src/cli/process.c:154 + msgid "Ignore security checks to be able to report all problems" + msgstr "" ++"Descartar las comprobaciones de seguridad para poder informar de todos los " ++"problemas" + + #: ../src/cli/process.c:64 + msgid "Actions: remove(rm), report(e), info(i), skip(s):" +@@ -2159,6 +2166,9 @@ msgid "" + "\n" + "Without --since argument, iterates over all detected problems." + msgstr "" ++"& process [opciones]\n" ++"\n" ++"Sin el parámetro --since se procesan todos los problemas detectados" + + #: ../src/cli/process.c:153 + msgid "Selects only problems detected after timestamp" +diff --git a/po/fr.po b/po/fr.po +index d177a91..d649b50 100644 +--- a/po/fr.po ++++ b/po/fr.po +@@ -13,7 +13,10 @@ + # Sam Friedmann , 2014 + # Vincent HERBER , 2011 + # Vincent , 2011 +-# mhabrnal , 2017. #zanata ++# Jakub Filak , 2015. #zanata ++# Julie Carbone , 2015. #zanata ++# Richard Marko , 2015. #zanata ++# Sam Friedmann , 2015. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -22,13 +25,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2015-07-29 09:45-0400\n" ++"Last-Translator: Richard Marko \n" + "Language-Team: French (http://www.transifex.com/projects/p/fedora-abrt/" + "language/fr/)\n" + "Language: fr\n" + "Plural-Forms: nplurals=2; plural=(n > 1);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +diff --git a/po/it.po b/po/it.po +index 0849ab4..cabb317 100644 +--- a/po/it.po ++++ b/po/it.po +@@ -14,7 +14,7 @@ + # Luigi Votta , 2011 + # Mauro Gaggiotti , 2012 + # Silvio Pierro , 2012 +-# mhabrnal , 2017. #zanata ++# Francesco Valente , 2015. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -23,13 +23,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2015-07-16 10:44-0400\n" ++"Last-Translator: Francesco Valente \n" + "Language-Team: Italian (http://www.transifex.com/projects/p/fedora-abrt/" + "language/it/)\n" + "Language: it\n" + "Plural-Forms: nplurals=2; plural=(n != 1);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +diff --git a/po/ja.po b/po/ja.po +index 08028bd..74f4f55 100644 +--- a/po/ja.po ++++ b/po/ja.po +@@ -12,8 +12,8 @@ + # noriko , 2014 + # noriko , 2010,2012-2013 + # carrotsoft , 2011-2012 +-# kmoriguc , 2017. #zanata +-# mhabrnal , 2017. #zanata ++# Noriko Mizumoto , 2015. #zanata ++# Matej Habrnal , 2017. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -22,13 +22,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-21 11:21+0000\n" +-"Last-Translator: kmoriguc \n" ++"PO-Revision-Date: 2017-08-10 05:37-0400\n" ++"Last-Translator: Matej Habrnal \n" + "Language-Team: Japanese (http://www.transifex.com/projects/p/fedora-abrt/" + "language/ja/)\n" + "Language: ja\n" + "Plural-Forms: nplurals=1; plural=0;\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +@@ -1922,7 +1922,7 @@ msgstr "詳細については abrt-cli COMMAND --help を参照してくださ + #, c-format + msgid "" + "%sRun 'abrt-cli report %s' for creating a case in Red Hat Customer Portal\n" +-msgstr "Red Hat カスタマーポータルにケースを作成するため %s'abrt-cli report を実行する%s'\n" ++msgstr "%sRed Hat カスタマーポータルにケースを作成するため 'abrt-cli report %s' を実行する\n" + + #: ../src/cli/list.c:176 + msgid "& list [options]" +@@ -1993,12 +1993,12 @@ msgstr "問題 '%s' が見つかりません" + #: ../src/cli/report.c:52 + #, c-format + msgid "Problem '%s' cannot be reported" +-msgstr "問題 '%s' は報告できません" ++msgstr "" + + #: ../src/cli/report.c:57 + #, c-format + msgid "Problem '%s' is labeled as 'not-reportable'?" +-msgstr "問題 '%s' に 'not-reportable' のラベル付けをしますか?" ++msgstr "" + + #: ../src/cli/report.c:78 ../src/cli/process.c:70 + #, c-format +@@ -2015,7 +2015,7 @@ msgstr "レポート後に PROBLEM_DIR を削除します" + + #: ../src/cli/report.c:106 ../src/cli/process.c:154 + msgid "Ignore security checks to be able to report all problems" +-msgstr "すべての問題を報告できるようにするためセキュリティーチェックを無視する" ++msgstr "" + + #: ../src/cli/process.c:64 + msgid "Actions: remove(rm), report(e), info(i), skip(s):" +@@ -2041,9 +2041,6 @@ msgid "" + "\n" + "Without --since argument, iterates over all detected problems." + msgstr "" +-"& process [options]\n" +-"\n" +-"Without --since argument, iterates over all detected problems." + + #: ../src/cli/process.c:153 + msgid "Selects only problems detected after timestamp" +diff --git a/po/ko.po b/po/ko.po +index 83a5f41..7c2c437 100644 +--- a/po/ko.po ++++ b/po/ko.po +@@ -8,7 +8,7 @@ + # eukim , 2014 + # Jiří Moskovčák , 2011 + # , 2011-2012, 2013 +-# mhabrnal , 2017. #zanata ++# Eun-Ju Kim , 2015. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -17,13 +17,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2015-07-19 09:20-0400\n" ++"Last-Translator: Eun-Ju Kim \n" + "Language-Team: Korean (http://www.transifex.com/projects/p/fedora-abrt/" + "language/ko/)\n" + "Language: ko\n" + "Plural-Forms: nplurals=1; plural=0;\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +diff --git a/po/pt_BR.po b/po/pt_BR.po +index 04c8aee..029c05b 100644 +--- a/po/pt_BR.po ++++ b/po/pt_BR.po +@@ -22,7 +22,8 @@ + # Taylon Silmer , 2011 + # Teseu , 2011 + # Vitor Lobo Ramos , 2014 +-# mhabrnal , 2017. #zanata ++# Daniel Lara , 2016. #zanata ++# Mateus de Melo Santos , 2017. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -31,13 +32,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:09+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2017-06-09 04:19-0400\n" ++"Last-Translator: Mateus de Melo Santos \n" + "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" + "fedora-abrt/language/pt_BR/)\n" + "Language: pt-BR\n" + "Plural-Forms: nplurals=2; plural=(n > 1);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + # translation auto-copied from project abrt, version master, document abrt + #: ../src/applet/abrt-applet.desktop.in.h:1 +@@ -2347,12 +2348,12 @@ msgstr "Não foi possível encontrar problema '%s'" + #: ../src/cli/report.c:52 + #, c-format + msgid "Problem '%s' cannot be reported" +-msgstr "" ++msgstr "Problema '%s' não pode ser relatado" + + #: ../src/cli/report.c:57 + #, c-format + msgid "Problem '%s' is labeled as 'not-reportable'?" +-msgstr "" ++msgstr "O problema '%s' é rotulado como 'não-relatável'?" + + #: ../src/cli/report.c:78 ../src/cli/process.c:70 + #, c-format +@@ -2370,6 +2371,7 @@ msgstr "Remover PROBLEM_DIR após relatar" + #: ../src/cli/report.c:106 ../src/cli/process.c:154 + msgid "Ignore security checks to be able to report all problems" + msgstr "" ++"Ignorar verificações de segurança para poder relatar todos os problemas" + + #: ../src/cli/process.c:64 + msgid "Actions: remove(rm), report(e), info(i), skip(s):" +@@ -2395,6 +2397,9 @@ msgid "" + "\n" + "Without --since argument, iterates over all detected problems." + msgstr "" ++"& process [options]\n" ++"\n" ++"Sem ---desde o argumento, itera sobre todos os problemas detectados." + + #: ../src/cli/process.c:153 + msgid "Selects only problems detected after timestamp" +diff --git a/po/ru.po b/po/ru.po +index e235dee..adf261a 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -12,7 +12,9 @@ + # Stanislav Hanzhin , 2011 + # Yulia , 2012,2014 + # Yuri Khabarov , 2011 +-# mhabrnal , 2017. #zanata ++# Igor Gorbounov , 2015. #zanata ++# yuliya , 2015. #zanata ++# Matej Habrnal , 2017. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -21,14 +23,14 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2017-08-10 04:58-0400\n" ++"Last-Translator: Matej Habrnal \n" + "Language-Team: Russian (http://www.transifex.com/projects/p/fedora-abrt/" + "language/ru/)\n" + "Language: ru\n" + "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " + "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +@@ -2000,7 +2002,7 @@ msgstr "" + msgid "" + "%sRun 'abrt-cli report %s' for creating a case in Red Hat Customer Portal\n" + msgstr "" +-"%Выполните «abrt-cli report %s», чтобы создать отчет на портале " ++"%sВыполните «abrt-cli report %s», чтобы создать отчет на портале " + "пользователей Red Hat\n" + + # translation auto-copied from project abrt, version master, document abrt, author Igor Gorbounov +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 8531a11..6a61daf 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -14,7 +14,8 @@ + # wangwenye , 2013 + # yusuf , 2011 + # Zamir SUN , 2013 +-# mhabrnal , 2017. #zanata ++# Leah Liu , 2015. #zanata ++# Alex Eng (新伦) , 2016. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -23,18 +24,18 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2016-09-12 06:33-0400\n" ++"Last-Translator: Alex Eng (新伦) \n" + "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/fedora-" + "abrt/language/zh_CN/)\n" +-"Language: zh-Hans\n" ++"Language: zh-CN\n" + "Plural-Forms: nplurals=1; plural=0;\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + # translation auto-copied from project abrt, version master, document abrt + #: ../src/applet/abrt-applet.desktop.in.h:1 + msgid "Automatic Bug Reporting Tool" +-msgstr "错误自动报告工具 alex" ++msgstr "错误自动报告工具" + + # translation auto-copied from project abrt, version master, document abrt + #: ../src/applet/abrt-applet.desktop.in.h:2 +diff --git a/po/zh_TW.po b/po/zh_TW.po +index 48b1b20..3fe87ad 100644 +--- a/po/zh_TW.po ++++ b/po/zh_TW.po +@@ -6,7 +6,8 @@ + # Chester Cheng , 2012,2014 + # Jiří Moskovčák , 2011 + # Terry Chuang , 2014 +-# mhabrnal , 2017. #zanata ++# Chester Cheng , 2015. #zanata ++# Terry Chuang , 2015. #zanata + msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" +@@ -15,13 +16,13 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-05-16 07:08+0000\n" +-"Last-Translator: Copied by Zanata \n" ++"PO-Revision-Date: 2015-07-17 07:14-0400\n" ++"Last-Translator: Terry Chuang \n" + "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/fedora-" + "abrt/language/zh_TW/)\n" +-"Language: zh-Hant\n" ++"Language: zh-TW\n" + "Plural-Forms: nplurals=1; plural=0;\n" +-"X-Generator: Zanata 4.1.1\n" ++"X-Generator: Zanata 3.9.6\n" + + # translation auto-copied from project abrt, version master, document abrt + #: ../src/applet/abrt-applet.desktop.in.h:1 +-- +1.8.3.1 + diff --git a/SOURCES/0277-Fix-pt_BR.po-translation.patch b/SOURCES/0277-Fix-pt_BR.po-translation.patch new file mode 100644 index 0000000..c846394 --- /dev/null +++ b/SOURCES/0277-Fix-pt_BR.po-translation.patch @@ -0,0 +1,47 @@ +From a815ed62985ff887d3d5986c56e7808363577ee3 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Mon, 21 Aug 2017 15:47:18 +0200 +Subject: [PATCH] Fix pt_BR.po translation + +Related to #1271213 + +Signed-off-by: Matej Habrnal +--- + po/pt_BR.po | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/po/pt_BR.po b/po/pt_BR.po +index 029c05b..42421ac 100644 +--- a/po/pt_BR.po ++++ b/po/pt_BR.po +@@ -23,6 +23,7 @@ + # Teseu , 2011 + # Vitor Lobo Ramos , 2014 + # Daniel Lara , 2016. #zanata ++# Matej Habrnal , 2017. #zanata + # Mateus de Melo Santos , 2017. #zanata + msgid "" + msgstr "" +@@ -32,8 +33,8 @@ msgstr "" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"PO-Revision-Date: 2017-06-09 04:19-0400\n" +-"Last-Translator: Mateus de Melo Santos \n" ++"PO-Revision-Date: 2017-08-21 09:45-0400\n" ++"Last-Translator: Matej Habrnal \n" + "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" + "fedora-abrt/language/pt_BR/)\n" + "Language: pt-BR\n" +@@ -2399,7 +2400,7 @@ msgid "" + msgstr "" + "& process [options]\n" + "\n" +-"Sem ---desde o argumento, itera sobre todos os problemas detectados." ++"Sem --since o argumento, itera sobre todos os problemas detectados." + + #: ../src/cli/process.c:153 + msgid "Selects only problems detected after timestamp" +-- +1.8.3.1 + diff --git a/SOURCES/0278-koops-add-suspicious-strings-blacklist.patch b/SOURCES/0278-koops-add-suspicious-strings-blacklist.patch new file mode 100644 index 0000000..dcd1d8c --- /dev/null +++ b/SOURCES/0278-koops-add-suspicious-strings-blacklist.patch @@ -0,0 +1,127 @@ +From a2cdf73fa34cf196b08932841d107a82c5bc16e5 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Mon, 14 Aug 2017 13:34:59 +0200 +Subject: [PATCH] koops: add suspicious strings blacklist + +Some strings were accidentally considered suspicious. +In this concrete case strings containing "DEBUG" substring. +Since "BUG" and "DEBUG" overlaps and "BUG" is +listed in suspicious string list, kernel DEBUG messages were +recognized as "BUG"s which are kernel oops-es. + +Added "DEBUG" string into mentioned new blacklist. + +Related to rhbz#1228344 + +Signed-off-by: Matej Habrnal +--- + src/include/libabrt.h | 2 ++ + src/lib/kernel.c | 60 ++++++++++++++++++++++++++++++++++----------------- + 2 files changed, 42 insertions(+), 20 deletions(-) + +diff --git a/src/include/libabrt.h b/src/include/libabrt.h +index 2510a77..5346328 100644 +--- a/src/include/libabrt.h ++++ b/src/include/libabrt.h +@@ -125,6 +125,8 @@ char *kernel_tainted_long(const char *tainted_short); + int koops_hash_str(char hash_str[SHA1_RESULT_LEN*2 + 1], const char *oops_buf); + #define koops_extract_oopses abrt_koops_extract_oopses + void koops_extract_oopses(GList **oops_list, char *buffer, size_t buflen); ++#define koops_suspicious_strings_blacklist abrt_koops_suspicious_strings_blacklist ++GList *koops_suspicious_strings_blacklist(void); + #define koops_print_suspicious_strings abrt_koops_print_suspicious_strings + void koops_print_suspicious_strings(void); + /** +diff --git a/src/lib/kernel.c b/src/lib/kernel.c +index 1a9d327..79e7424 100644 +--- a/src/lib/kernel.c ++++ b/src/lib/kernel.c +@@ -158,11 +158,46 @@ static const char *const s_koops_suspicious_strings[] = { + NULL + }; + ++static const char *const s_koops_suspicious_strings_blacklist[] = { ++ /* "BUG:" and "DEBUG:" overlaps, we don't want to recognize DEBUG messages as BUG */ ++ "DEBUG:", ++ ++ /* Termination */ ++ NULL ++}; ++ ++static bool suspicious_line(const char *line) ++{ ++ const char *const *str = s_koops_suspicious_strings; ++ for ( ; *str; ++str) ++ if (strstr(line, *str)) ++ break; ++ ++ if (!*str) ++ return false; ++ ++ str = s_koops_suspicious_strings_blacklist; ++ for ( ; *str; ++str) ++ if (strstr(line, *str)) ++ break; ++ ++ return !*str; ++} ++ + void koops_print_suspicious_strings(void) + { + koops_print_suspicious_strings_filtered(NULL); + } + ++GList *koops_suspicious_strings_blacklist(void) ++{ ++ GList *strings = NULL; ++ for (const char *const *str = s_koops_suspicious_strings_blacklist; *str; ++str) ++ strings = g_list_prepend(strings, (gpointer)*str); ++ ++ return strings; ++} ++ + static bool match_any(const regex_t **res, const char *str) + { + for (const regex_t **r = res; *r != NULL; ++r) +@@ -312,14 +347,8 @@ next_line: + if (oopsstart < 0) + { + /* Find start-of-oops markers */ +- for (const char *const *str = s_koops_suspicious_strings; *str; ++str) +- { +- if (strstr(curline, *str)) +- { +- oopsstart = i; +- break; +- } +- } ++ if (suspicious_line(curline)) ++ oopsstart = i; + + if (oopsstart >= 0) + { +@@ -407,18 +436,9 @@ next_line: + /* kernel end-of-oops marker (not including marker itself) */ + else if (strstr(curline, "---[ end trace")) + oopsend = i-1; +- else +- { +- /* if a new oops starts, this one has ended */ +- for (const char *const *str = s_koops_suspicious_strings; *str; ++str) +- { +- if (strstr(curline, *str)) +- { +- oopsend = i-1; +- break; +- } +- } +- } ++ /* if a new oops starts, this one has ended */ ++ else if (suspicious_line(curline)) ++ oopsend = i-1; + + if (oopsend <= i) + { +-- +1.8.3.1 + diff --git a/SOURCES/0280-koops-Improve-fatal-MCE-check-when-dumping-backtrace.patch b/SOURCES/0280-koops-Improve-fatal-MCE-check-when-dumping-backtrace.patch new file mode 100644 index 0000000..97b5167 --- /dev/null +++ b/SOURCES/0280-koops-Improve-fatal-MCE-check-when-dumping-backtrace.patch @@ -0,0 +1,45 @@ +From 69047b8b02d8f7635fe106daac9e17d72d4a8130 Mon Sep 17 00:00:00 2001 +From: Julius Milan +Date: Mon, 10 Apr 2017 16:30:58 +0200 +Subject: [PATCH] koops: Improve fatal MCE check when dumping backtrace + +Problem was, that regular kernel panic message was treated as fatal MCE, +for which we don't want to have backtrace. + +The logic in koops_extract_oopses_from_lines is a bit complex, +so I describe it: +If fatal MCE was recognized, dumping of backtrace was skipped by following +to the next part of cycle (hacky, in the next part of cycle, there is +condition with many allowed strings to continue but not "Call Trace"). +The check responsible for this "jump" (kernel.c:396) just checked whether +there is a string beginning with "Kernel panic - not syncing", however +this string appears in all kernel panics, not just fatal MCEs. + +Fatal MCE may have form of: +"Kernel panic - not syncing: Fatal Machine check" or +"Kernel panic - not syncing: Machine check" or I found even +"Kernel panic - not syncing: Uncorrected machine check" +so I modified the condition appropriately and added test covering this +case. + +Related to rhbz#1374648 +--- + src/lib/kernel.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/kernel.c b/src/lib/kernel.c +index 1a9d327..f1a0f2c 100644 +--- a/src/lib/kernel.c ++++ b/src/lib/kernel.c +@@ -356,7 +356,7 @@ next_line: + * In order to capture all these lines, we treat final line + * as "backtrace" (which is admittedly a hack): + */ +- if (strstr(curline, "Kernel panic - not syncing")) ++ if (strstr(curline, "Kernel panic - not syncing:") && strcasestr(curline, "Machine check")) + inbacktrace = 1; + else + if (strnlen(curline, 9) > 8 +-- +1.8.3.1 + diff --git a/SOURCES/0282-Add-oops-processing-for-kernel-panics-caused-by-hung.patch b/SOURCES/0282-Add-oops-processing-for-kernel-panics-caused-by-hung.patch new file mode 100644 index 0000000..5cb8736 --- /dev/null +++ b/SOURCES/0282-Add-oops-processing-for-kernel-panics-caused-by-hung.patch @@ -0,0 +1,35 @@ +From 4499cfbae77f3b1dfcd476db40095e7d1b8148f5 Mon Sep 17 00:00:00 2001 +From: credmon +Date: Fri, 20 May 2016 15:30:13 -0400 +Subject: [PATCH] Add oops processing for kernel panics caused by hung tasks. + +Signed-off-by: Jakub Filak +--- + src/lib/kernel.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/lib/kernel.c b/src/lib/kernel.c +index f1a0f2c..a715624 100644 +--- a/src/lib/kernel.c ++++ b/src/lib/kernel.c +@@ -110,6 +110,7 @@ static const char *const s_koops_suspicious_strings[] = { + /*s*/"ysctl table check failed", + ": nobody cared", + "IRQ handler type mismatch", ++ "Kernel panic - not syncing:", + /* + * MCE examples for various CPUs/architectures (collected 2013-04): + * arch/arc/kernel/traps.c: die("Machine Check Exception", regs, address, cause); +@@ -387,6 +388,9 @@ next_line: + && !strstr(curline, "") + && !strstr(curline, "") + && !strstr(curline, "<>") ++ && !strstr(curline, "Comm:") ++ && !strstr(curline, "Hardware name:") ++ && !strstr(curline, "Backtrace:") + && strncmp(curline, "Code: ", 6) != 0 + && strncmp(curline, "RIP ", 4) != 0 + && strncmp(curline, "RSP ", 4) != 0 +-- +1.8.3.1 + diff --git a/SOURCES/0283-vmcore-remove-original-vmcore-file-in-the-last-step.patch b/SOURCES/0283-vmcore-remove-original-vmcore-file-in-the-last-step.patch new file mode 100644 index 0000000..ac8a221 --- /dev/null +++ b/SOURCES/0283-vmcore-remove-original-vmcore-file-in-the-last-step.patch @@ -0,0 +1,43 @@ +From e29d4d264d5ccc53fc0f4cc18ac477395a82af10 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 27 Nov 2014 14:30:48 +0100 +Subject: [PATCH] vmcore: remove original vmcore file in the last step + +Signed-off-by: Jakub Filak +--- + src/hooks/abrt_harvest_vmcore.py.in | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in +index 6b2719e..990a2b1 100644 +--- a/src/hooks/abrt_harvest_vmcore.py.in ++++ b/src/hooks/abrt_harvest_vmcore.py.in +@@ -278,12 +278,6 @@ def harvest_vmcore(): + shutil.rmtree(destdirnew) + continue + +- if copyvmcore == 'no': +- try: +- shutil.rmtree(f_full) +- except OSError: +- sys.stderr.write("Unable to delete '%s'. Ignoring\n" % f_full) +- + try: + # Let abrtd know what type of problem it is: + create_abrtd_info(destdirnew) +@@ -303,6 +297,12 @@ def harvest_vmcore(): + # Get rid of the .new suffix + shutil.move(destdirnew, destdir) + ++ if copyvmcore == 'no': ++ try: ++ shutil.rmtree(f_full) ++ except OSError: ++ sys.stderr.write("Unable to delete '%s'. Ignoring\n" % f_full) ++ + problem.notify_new_path(destdir) + + +-- +1.8.3.1 + diff --git a/SOURCES/0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch b/SOURCES/0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch new file mode 100644 index 0000000..d69b280 --- /dev/null +++ b/SOURCES/0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch @@ -0,0 +1,226 @@ +From 3f8c7bd84c33a2281857becaf6e177d74de1da42 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Mon, 8 Jun 2015 19:39:24 +0200 +Subject: [PATCH] vmcore: use libreport dd API in the harvestor + +The dd API ensure correct permissions and owner. + +Signed-off-by: Jakub Filak +--- + src/hooks/abrt_harvest_vmcore.py.in | 155 ++++++++++++++---------------------- + 1 file changed, 59 insertions(+), 96 deletions(-) + +diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in +index 990a2b1..c85db8c 100644 +--- a/src/hooks/abrt_harvest_vmcore.py.in ++++ b/src/hooks/abrt_harvest_vmcore.py.in +@@ -16,6 +16,7 @@ import augeas + from subprocess import Popen, PIPE + + import problem ++import report + + + def errx(message, code=1): +@@ -105,85 +106,39 @@ def parse_kdump(): + return path + + +-def write_to_file(path, content): ++def create_abrtd_info(dest, uuid): + """ +- A function for writing into a file +- +- path - path to the file +- content - content to write into the file +- """ +- +- with open(path, 'w') as wfile: +- wfile.write(content) +- +- +-def change_owner_rec(dest): +- """ +- A simple function to recursively change file mode for a directory. +- +- dest - path to the directory +- """ +- +- os.chown(dest, 0, 0) +- for root, dirs, files in os.walk(dest): +- for i in dirs: +- os.chown(os.path.join(root, i), 0, 0) +- for i in files: +- os.chown(os.path.join(root, i), 0, 0) +- ++ A simple function to write important information for the abrt daemon into ++ the vmcore directory to let abrtd know what kind of problem it is. + +-def change_mode_rec(dest): ++ dest - path to the vmcore directory ++ uuid - unique indentifier of the vmcore + """ +- A simple function to recursively change file mode for a directory. + +- dest - path to the directory +- """ ++ dd = report.dd_create(dest, 0) ++ if dd is None: ++ return None + +- os.chmod(dest, 0700) +- for root, dirs, files in os.walk(dest): +- for i in dirs: +- os.chmod(os.path.join(root, i), 0700) +- for i in files: +- os.chmod(os.path.join(root, i), 0600) ++ dd.create_basic_files(0) ++ dd.save_text('analyzer', 'abrt-vmcore') ++ dd.save_text('type', 'vmcore') ++ dd.save_text('component', 'kernel') ++ dd.save_text('uuid', uuid) ++ return dd + + +-def create_abrtd_info(dest): ++def delete_and_close(dd, dd_dirname): + """ +- A simple function to write important information for the abrt daemon into +- the vmcore directory to let abrtd know what kind of problem it is. ++ Deletes the given dump directory and closes it. + +- dest - path to the vmcore directory ++ dd - dump directory object ++ dd_dirname - full path to dump directory + """ ++ if not dd.delete() == 0: ++ sys.stderr.write("Unable to delete '%s'\n" % (dd_dirname)) ++ return + +- write_to_file(os.path.join(dest, 'analyzer'), 'vmcore') +- write_to_file(os.path.join(dest, 'type'), 'vmcore') +- write_to_file(os.path.join(dest, 'component'), 'kernel') +- write_to_file(os.path.join(dest, 'time'), str(time.time()).split('.')[0]) +- shutil.copy(os.path.join(dest, 'time'), +- os.path.join(dest, 'last_occurrence')) +- write_to_file(os.path.join(dest, 'architecture'), os.uname()[4]) +- write_to_file(os.path.join(dest, 'uid'), '0') +- +- # TODO: need to generate *real* UUID, +- # one which has a real chance of catching dups! +- # This one generates different hashes even for similar cores: +- hashobj = hashlib.sha1() +- # Iterate over the file a line at a time in order to not load the whole +- # vmcore file +- with open(os.path.join(dest, 'vmcore'), 'r') as corefile: +- for line in corefile: +- hashobj.update(line) +- write_to_file(os.path.join(dest, 'uuid'), hashobj.hexdigest()) +- +- # Write os info into the vmcore directory +- if os.path.exists('/etc/system-release'): +- shutil.copy('/etc/system-release', os.path.join(dest, 'os_release')) +- elif os.path.exists('/etc/redhat-release'): +- shutil.copy('/etc/redhat-release', os.path.join(dest, 'os_release')) +- elif os.path.exists('/etc/SuSE-release'): +- shutil.copy('/etc/SuSE-release', os.path.join(dest, 'os_release')) +- if os.path.exists('/etc/os-release'): +- shutil.copy('/etc/os-release', os.path.join(dest, 'os_info')) ++ dd.close() + + + def harvest_vmcore(): +@@ -212,8 +167,6 @@ def harvest_vmcore(): + else: + break + +- os.umask(077) +- + # Check abrt config files for copy/move settings and + try: + conf = problem.load_plugin_conf_file("vmcore.conf") +@@ -257,6 +210,8 @@ def harvest_vmcore(): + "VMCore dir '%s' doesn't contain 'vmcore' file.\n" % f_full) + continue + ++ # We use .new suffix - we must make sure abrtd doesn't try ++ # to process partially-copied directory. + destdir = os.path.join(abrtdumpdir, ('vmcore-' + cfile)) + destdirnew = destdir + '.new' + # Did we already copy it last time we booted? +@@ -264,38 +219,46 @@ def harvest_vmcore(): + continue + if os.path.isdir(destdirnew): + continue +- # Copy/move vmcore directory to abrt spool dir. +- # We use .new suffix - we must make sure abrtd doesn't try +- # to process partially-copied directory. +- +- try: +- shutil.copytree(f_full, destdirnew) +- except (OSError, shutil.Error): +- sys.stderr.write("Unable to copy '%s' to '%s'. Skipping\n" +- % (f_full, destdirnew)) + +- # delete .new dir so we don't create mess +- shutil.rmtree(destdirnew) ++ # TODO: need to generate *real* UUID, ++ # one which has a real chance of catching dups! ++ # This one generates different hashes even for similar cores: ++ hashobj = hashlib.sha1() ++ # Iterate over the file a line at a time in order to not load the whole ++ # vmcore file ++ with open(os.path.join(f_full, 'vmcore'), 'r') as corefile: ++ for line in corefile: ++ hashobj.update(line) ++ ++ dd = create_abrtd_info(destdirnew, hashobj.hexdigest()) ++ if dd is None: ++ sys.stderr.write("Unable to create problem directory info") + continue + +- try: +- # Let abrtd know what type of problem it is: +- create_abrtd_info(destdirnew) +- except EnvironmentError as ex: +- sys.stderr.write("Unable to create problem directory info: " + str(ex)) ++ # Copy/move vmcore directory to abrt spool dir. ++ for name in os.listdir(f_full): ++ full_name = os.path.join(f_full, name) ++ ++ # Skip sub-directories, abrt ignores them in its processing anyway ++ if not os.path.isfile(full_name): ++ continue ++ + try: +- shutil.rmtree(destdirnew) +- except Exception as ex: +- sys.stderr.write("Unable to remove incomplete problem directory: " + str(ex)) +- continue ++ if not dd.copy_file(name, full_name) == 0: ++ raise OSError ++ except (OSError, shutil.Error): ++ sys.stderr.write("Unable to copy '%s' to '%s'. Skipping\n" ++ % (full_name, destdirnew)) ++ delete_and_close(dd) ++ continue + +- # chown -R 0:0 +- change_owner_rec(destdirnew) +- # chmod -R u+rwX,go-rwxst +- change_mode_rec(destdirnew) ++ # Get rid of the .new suffix ++ if not dd.rename(destdir) == 0: ++ sys.stderr.write("Unable to rename '%s' to '%s'. Skipping\n" % (destdirnew, destdir)) ++ delete_and_close(dd) ++ continue + +- # Get rid of the .new suffix +- shutil.move(destdirnew, destdir) ++ dd.close() + + if copyvmcore == 'no': + try: +-- +1.8.3.1 + diff --git a/SOURCES/0286-koops-Improve-not-reportable-for-oopses-with-taint-f.patch b/SOURCES/0286-koops-Improve-not-reportable-for-oopses-with-taint-f.patch new file mode 100644 index 0000000..4973190 --- /dev/null +++ b/SOURCES/0286-koops-Improve-not-reportable-for-oopses-with-taint-f.patch @@ -0,0 +1,75 @@ +From 80087d0d88e2ff5a3c644f939bbe602a064096c4 Mon Sep 17 00:00:00 2001 +From: Julius Milan +Date: Tue, 26 Sep 2017 15:56:42 +0200 +Subject: [PATCH] koops: Improve not-reportable for oopses with taint flags + +Adds detailed info about taint flags to not-reportable. This +additional info contains description of every taint flag that appeared +in particular oops. +It is either good for user information and also solves the problem when users +opened bugs on abrt from misunderstanding tainted flags. + +Related to rhbz#1452160 +--- + src/lib/kernel.c | 7 ++++--- + src/plugins/abrt-dump-oops.c | 8 ++++---- + 2 files changed, 8 insertions(+), 7 deletions(-) + +diff --git a/src/lib/kernel.c b/src/lib/kernel.c +index 3c8cbdf..346b0a6 100644 +--- a/src/lib/kernel.c ++++ b/src/lib/kernel.c +@@ -695,9 +695,10 @@ static const char *const tnts_long[] = { + /* B */ "System has hit bad_page.", + /* C */ "Modules from drivers/staging are loaded.", + /* D */ "Kernel has oopsed before", +- /* E */ NULL, ++ /* E */ "Unsigned module has been loaded.", + /* F */ "Module has been forcibly loaded.", +- /* G */ "Proprietary module has not been loaded.", ++ /* We don't want to be more descriptive about G flag */ ++ /* G */ NULL, /* "Proprietary module has not been loaded." */ + /* H */ NULL, + /* I */ "Working around severe firmware bug.", + /* J */ NULL, +@@ -729,7 +730,7 @@ char *kernel_tainted_long(const char *tainted_short) + { + const char *const txt = tnts_long[tnt_index]; + if (txt) +- strbuf_append_strf(tnt_long, "%s\n", txt); ++ strbuf_append_strf(tnt_long, "%c - %s\n", tainted_short[0], txt); + } + + ++tainted_short; +diff --git a/src/plugins/abrt-dump-oops.c b/src/plugins/abrt-dump-oops.c +index 05cb728..e7db19a 100644 +--- a/src/plugins/abrt-dump-oops.c ++++ b/src/plugins/abrt-dump-oops.c +@@ -139,13 +139,12 @@ static void save_oops_data_in_dump_dir(struct dump_dir *dd, char *oops, const ch + + char *tnt_long = kernel_tainted_long(tainted_short); + dd_save_text(dd, FILENAME_TAINTED_LONG, tnt_long); +- free(tnt_long); + + struct strbuf *reason = strbuf_new(); + const char *fmt = _("A kernel problem occurred, but your kernel has been " +- "tainted (flags:%s). Kernel maintainers are unable to " +- "diagnose tainted reports."); +- strbuf_append_strf(reason, fmt, tainted_short); ++ "tainted (flags:%s). Explanation:\n%s" ++ "Kernel maintainers are unable to diagnose tainted reports."); ++ strbuf_append_strf(reason, fmt, tainted_short, tnt_long); + + char *modlist = !proc_modules ? NULL : list_of_tainted_modules(proc_modules); + if (modlist) +@@ -157,6 +156,7 @@ static void save_oops_data_in_dump_dir(struct dump_dir *dd, char *oops, const ch + dd_save_text(dd, FILENAME_NOT_REPORTABLE, reason->buf); + strbuf_free(reason); + free(tainted_short); ++ free(tnt_long); + } + } + +-- +1.8.3.1 + diff --git a/SOURCES/0287-a-a-ureport-add-check-if-crash-is-from-packaged-exec.patch b/SOURCES/0287-a-a-ureport-add-check-if-crash-is-from-packaged-exec.patch new file mode 100644 index 0000000..eb94c91 --- /dev/null +++ b/SOURCES/0287-a-a-ureport-add-check-if-crash-is-from-packaged-exec.patch @@ -0,0 +1,42 @@ +From 9971c9376e59f1b74c7e5844a732ea5cee996599 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Tue, 10 Oct 2017 11:31:09 +0200 +Subject: [PATCH] a-a-ureport: add check if crash is from packaged executable + +uReport cannot be created for unpackaged executable. +This commit adds check if the problem is packaged. If not +uReport creating ends with log message explaining it. + +Resolves #1319828 + +Signed-off-by: Matej Habrnal +--- + src/plugins/abrt-action-ureport | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/plugins/abrt-action-ureport b/src/plugins/abrt-action-ureport +index 48bebef..2616b03 100755 +--- a/src/plugins/abrt-action-ureport ++++ b/src/plugins/abrt-action-ureport +@@ -118,6 +118,7 @@ if __name__ == "__main__": + report_type = dd.load_text("analyzer", 0) + + core_backtrace_exists = dd.exist("core_backtrace") ++ packaged = dd.exist("package") + reported_to = dd.load_text("reported_to", DD_FAIL_QUIETLY_ENOENT) + ureports_counter = try_parse_number(dd, "ureports_counter") + count = try_parse_number(dd, "count") +@@ -154,6 +155,10 @@ if __name__ == "__main__": + log1("uReport can't be sent without core_backtrace. Exiting.") + sys.exit(1) + ++ if not packaged: ++ log(_("Problem comes from unpackaged executable. Unable to create uReport.")) ++ sys.exit(1) ++ + exitcode = spawn_and_wait("reporter-ureport") + if exitcode == 0 or exitcode == 70: + dd = dd_opendir(dirname, 0) +-- +1.8.3.1 + diff --git a/SOURCES/0306-a-harvest-vmcore-fix-regresion.patch b/SOURCES/0306-a-harvest-vmcore-fix-regresion.patch new file mode 100644 index 0000000..9432ed2 --- /dev/null +++ b/SOURCES/0306-a-harvest-vmcore-fix-regresion.patch @@ -0,0 +1,35 @@ +From 092baaf1924b85b91fb9340c11a4c5c51ab7a7b2 Mon Sep 17 00:00:00 2001 +From: Matej Habrnal +Date: Thu, 8 Feb 2018 10:21:01 +0100 +Subject: [PATCH] a-harvest-vmcore: fix regresion + +Problem is in the analyzer file, which holds value 'abrt-vmcore' (was 'vmcore' +in 7.4). The change has been introduced in +0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch + +In Fedora we are using problem dir element 'type' as EVENTs conditions. +In RHEL is the element still 'analyzer'. + +Fixes: #1543323 + +Signed-off-by: Matej Habrnal +--- + src/hooks/abrt_harvest_vmcore.py.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in +index c85db8cc..b2ff283d 100644 +--- a/src/hooks/abrt_harvest_vmcore.py.in ++++ b/src/hooks/abrt_harvest_vmcore.py.in +@@ -120,7 +120,7 @@ def create_abrtd_info(dest, uuid): + return None + + dd.create_basic_files(0) +- dd.save_text('analyzer', 'abrt-vmcore') ++ dd.save_text('analyzer', 'vmcore') + dd.save_text('type', 'vmcore') + dd.save_text('component', 'kernel') + dd.save_text('uuid', uuid) +-- +2.14.3 + 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 894d4d3..500072d 100644 --- a/SPECS/abrt.spec +++ b/SPECS/abrt.spec @@ -27,17 +27,17 @@ %define desktopvendor fedora %endif -%define libreport_ver 2.1.11-38 +%define libreport_ver 2.1.11-36 %define satyr_ver 0.13-10 Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.1.11 -Release: 48%{?dist} +Release: 50%{?dist} License: GPLv2+ Group: Applications/System -URL: https://fedorahosted.org/abrt/ -Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz +URL: https://abrt.readthedocs.org/ +Source: %{name}-%{version}.tar.gz Patch1: 0001-Do-not-enabled-Shortened-reporting-in-GNOME.patch Patch2: 0002-remove-abrt-bodhi-from-configuration.patch @@ -340,14 +340,45 @@ Patch269: 0269-ccpp-add-h-parameter-into-abrt-hook-ccpp.patch #Patch270: 0270-testsuite-add-test-for-core-template-substitution.patch # git format-patch 2.1.11-47.el7 -N --start-number 271 --topo-order Patch271: 0271-Translation-updates.patch +# git format-patch 2.1.11-48.el7 -N --start-number 272 --topo-order +#Patch272: 0272-spec-allow-deprecated-declarations-warning.patch +#Patch273: 0273-spec-add-missing-dependecy-on-dbus-glib-devel.patch +Patch274: 0274-python-provide-more-information-about-exception.patch +#Patch275: 0275-testsuite-provide-more-information-about-exception.patch +Patch276: 0276-Translation-updates.patch +Patch277: 0277-Fix-pt_BR.po-translation.patch +Patch278: 0278-koops-add-suspicious-strings-blacklist.patch +#Patch279: 0279-testsuite-suspicious-strings-blacklist-test.patch +Patch280: 0280-koops-Improve-fatal-MCE-check-when-dumping-backtrace.patch +#Patch281: 0281-testsuite-add-test-for-dumping-kernel-panic-oom-oops.patch +Patch282: 0282-Add-oops-processing-for-kernel-panics-caused-by-hung.patch +Patch283: 0283-vmcore-remove-original-vmcore-file-in-the-last-step.patch +Patch284: 0284-vmcore-use-libreport-dd-API-in-the-harvestor.patch +#Patch285: 0285-testsuite-add-test-case-for-copyvmcore.patch +Patch286: 0286-koops-Improve-not-reportable-for-oopses-with-taint-f.patch +Patch287: 0287-a-a-ureport-add-check-if-crash-is-from-packaged-exec.patch +#Patch288: 0288-testsuite-test-not-sending-ureport-from-unpackaged-e.patch +#Patch289: 289-spec-update-URL-and-Source-to-recent-values.patch +#Patch290: 0290-Revert-testsuite-reporter-rhtsupport-no-longer-uses-.patch +#Patch291: 0291-testsuite-reporter-rhtsupport-parameter-t-extend-fun.patch +# git format-patch 2.1.11-49.el7 -N --start-number 292 --topo-order +#Patch292: 0292-testsuite-switch-order-of-g_crash_path-and-wait_f_h.patch +#Patch293: 0293-testsuite-wait-for-hooks-at-least-1-second.patch +#Patch294: 0294-testsuite-tell-the-runner-about-problem-sub-director.patch +#Patch295: 0295-CI-make-debugging-easier-with-more-log-messages.patch +#Patch296: 0296-testsuite-rhts-test-remove-trailing-characters.patch +#Patch297: 0297-testsuite-restart-abrt-ccpp-in-abrtd-directories.patch +#Patch298: 0298-testsuite-Install-missing-rpm-sign-package.patch +#Patch299: 0299-testsuite-Show-warning-instead-of-failing-test.patch +#Patch300: 0300-testsuite-check-for-correct-group-and-permissions.patch +#Patch301: 0301-testsuite-disable-failing-tests.patch +#Patch302: 0302-testsuite-extend-timeout-to-10-minutes.patch +#Patch303: 0303-testsuite-Correct-the-name-of-configuration-file.patch +#Patch304: 0304-tests-cli-sanity-re-enable-report-non-reportable-pha.patch +#Patch305: 0305-testsuite-fix-backtrace-verification-on-power.patch +Patch306: 0306-a-harvest-vmcore-fix-regresion.patch +# git format-patch 2.1.11-50.el7 -N --start-number 306 --topo-order -Patch1000: 1000-event-don-t-run-the-reporter-bugzilla-h-on-RHEL-and-.patch -#Patch1001: 1001-spec-added-dependency-to-libreport-centos.patch -Patch1002: 1002-plugin-set-URL-to-retrace-server.patch -#Patch1003: 1003-spec-add-dependenci-on-abrt-retrace-client.patch -Patch1004: 1004-turn-sosreport-off.patch -Patch1005: 1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch -#Patch1006: 1006-spec-disable-authenticated-autoreporting.patch # git is need for '%%autosetup -S git' which automatically applies all the # patches above. Please, be aware that the patches must be generated @@ -355,11 +386,11 @@ Patch1005: 1005-cli-list-revert-patch-7966e5737e8d3af43b1ecdd6a82323.patch BuildRequires: git BuildRequires: dbus-devel -BuildRequires: dbus-glib-devel BuildRequires: gtk3-devel BuildRequires: rpm-devel >= 4.6 BuildRequires: desktop-file-utils BuildRequires: libnotify-devel +BuildRequires: dbus-glib-devel #why? BuildRequires: file-devel BuildRequires: python-devel BuildRequires: gettext @@ -460,8 +491,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 @@ -576,13 +609,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} @@ -615,13 +643,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} @@ -704,8 +727,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 @@ -1181,14 +1204,19 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog -* Mon Jul 31 2017 CentOS Sources - 2.1.11-48.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 +* Thu Feb 8 2018 Martin Kutlak - 2.1.11-50 +- vmcore: fix analyzer regression +- Related: #1543323 + +* Thu Oct 26 2017 Martin Kutlak - 2.1.11-49 +- Translation updates +- Stop creating uReports for unpackaged executables +- koops: add detailed taint flag description for kernel oopses +- koops: fix kernel oops and fatal MCE recognition +- python: provide more information about Python exceptions +- vmcore: fix replication of vmcore files +- Related: #1271213, #1460224, #1374648, #1361116, #1228344, +- Related: #1395285, #1214730, #1446410, #1319828, #1501718 * Tue May 30 2017 Matej Habrnal - 2.1.11-48 - Translation updates