blacklist Firefox's plugin-container and turn off compat cores
Resolves: #1308840
This commit is contained in:
parent
04b13c6fc9
commit
ba94a9992a
92383
0003-Translation-updates.patch
Normal file
92383
0003-Translation-updates.patch
Normal file
File diff suppressed because it is too large
Load Diff
26
0004-translations-add-missing-new-line.patch
Normal file
26
0004-translations-add-missing-new-line.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 0a918dd4d1aee2a90de212f932c01081c73791cd Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Thu, 11 Feb 2016 15:26:27 +0100
|
||||
Subject: [PATCH] translations: add missing new line
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
po/km.po | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/po/km.po b/po/km.po
|
||||
index 84bb1b1..ab7a684 100644
|
||||
--- a/po/km.po
|
||||
+++ b/po/km.po
|
||||
@@ -137,7 +137,7 @@ msgid ""
|
||||
"\n"
|
||||
"Applet which notifies user when new problems are detected by ABRT\n"
|
||||
msgstr ""
|
||||
-"Applet ដែលបានជូនដំណឹងអ្នកប្រើនៅពេលដែលមានបញ្ហាថ្មីត្រូវបានរកឃើញដោយ ABRT"
|
||||
+"Applet ដែលបានជូនដំណឹងអ្នកប្រើនៅពេលដែលមានបញ្ហាថ្មីត្រូវបានរកឃើញដោយ ABRT\n"
|
||||
|
||||
#: ../src/configuration-gui/abrt-config-widget.c:483
|
||||
msgid ""
|
||||
--
|
||||
2.5.0
|
||||
|
25
0005-Fix-minor-typo-possition-position.patch
Normal file
25
0005-Fix-minor-typo-possition-position.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 7dca143dd91229e0dad78bcdead6748ecf27cbd3 Mon Sep 17 00:00:00 2001
|
||||
From: Yuri Chornoivan <yurchor@ukr.net>
|
||||
Date: Fri, 12 Feb 2016 22:51:18 +0200
|
||||
Subject: [PATCH] Fix minor typo: possition -> position
|
||||
|
||||
---
|
||||
src/plugins/abrt-dump-journal-xorg.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/plugins/abrt-dump-journal-xorg.c b/src/plugins/abrt-dump-journal-xorg.c
|
||||
index 87dfe13..1ede56f 100644
|
||||
--- a/src/plugins/abrt-dump-journal-xorg.c
|
||||
+++ b/src/plugins/abrt-dump-journal-xorg.c
|
||||
@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
|
||||
"-c and -e options conflicts because both specifies the first read message.\n"
|
||||
"\n"
|
||||
"-e is useful only for -f because the following of journal starts by reading \n"
|
||||
- "the entire journal if the last seen possition is not available.\n"
|
||||
+ "the entire journal if the last seen position is not available.\n"
|
||||
"\n"
|
||||
"The last seen position is saved in %s\n"
|
||||
"\n"
|
||||
--
|
||||
2.5.0
|
||||
|
@ -0,0 +1,33 @@
|
||||
From a136d0c7b8aa72e7cf60e1255504191f1e9ac800 Mon Sep 17 00:00:00 2001
|
||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
||||
Date: Tue, 16 Feb 2016 10:53:06 +0100
|
||||
Subject: [PATCH] a-a-save-package-data: blacklist
|
||||
/usr/lib(64)/firefox/plugin-container
|
||||
|
||||
/usr/lib(64)/firefox/plugin-container is a sandbox/launcher for Firefox
|
||||
plug-ins. When it crases Firefox loads it again so we don't want those crashes
|
||||
reported.
|
||||
|
||||
Related to: rhbz#1308840
|
||||
|
||||
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
||||
---
|
||||
src/daemon/abrt-action-save-package-data.conf | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/daemon/abrt-action-save-package-data.conf b/src/daemon/abrt-action-save-package-data.conf
|
||||
index 58f5061..f3a808f 100644
|
||||
--- a/src/daemon/abrt-action-save-package-data.conf
|
||||
+++ b/src/daemon/abrt-action-save-package-data.conf
|
||||
@@ -15,7 +15,7 @@ ProcessUnpackaged = yes
|
||||
|
||||
# Blacklisted executable paths (shell patterns)
|
||||
#
|
||||
-BlackListedPaths = /usr/share/doc/*, */example*, /usr/bin/nspluginviewer
|
||||
+BlackListedPaths = /usr/share/doc/*, */example*, /usr/bin/nspluginviewer, /usr/lib*/firefox/plugin-container
|
||||
|
||||
# interpreters names
|
||||
Interpreters = python2, python2.7, python, python3, python3.3, python3.4, python3.5, perl, perl5.16.2
|
||||
--
|
||||
2.5.0
|
||||
|
51
0008-CCpp-turn-off-compat-cores.patch
Normal file
51
0008-CCpp-turn-off-compat-cores.patch
Normal file
@ -0,0 +1,51 @@
|
||||
From 10a3ff45b150fe426624080abf903242af3ac201 Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Tue, 23 Feb 2016 15:40:17 +0100
|
||||
Subject: [PATCH] CCpp: turn off compat cores
|
||||
|
||||
Disable compat cores because with systemd>=229, RLIMIT_CORE is
|
||||
'unlimited' by default and RLIMIT_CORE!=0 was the signal to create a
|
||||
core file in the old way. So, abrt-ccpp-hook creates the old way cores
|
||||
everywhere on file systems by default and users don't know about it
|
||||
because they did not enable it manually via 'ulimit -c unlimited'.
|
||||
|
||||
We could restore the old RLIMIT_CORE value by creating a systemd
|
||||
configuration file with 'DefaultLimitCORE=0' but that would not be a
|
||||
good solution for our users:
|
||||
* you have to reboot, otherwise the configuration has no effect
|
||||
* and therefore it is impossible to set the new value when
|
||||
abrt-ccpp.service is stopped and the users who expect
|
||||
RTLIMIT_CORE='unlimited' would be confused
|
||||
|
||||
We should probably adopt the behaviour of systemd-coredump. However,
|
||||
that means that abrtd must not drop any problem it receives and should
|
||||
mark those problems that would be dropped as NOT-REPORTABLE to prevent
|
||||
users from filing bug reports for unfixable problems.
|
||||
|
||||
Find more details at:
|
||||
https://github.com/systemd/systemd/issues/2643
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
src/hooks/CCpp.conf | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/hooks/CCpp.conf b/src/hooks/CCpp.conf
|
||||
index 025189a..edf66b7 100644
|
||||
--- a/src/hooks/CCpp.conf
|
||||
+++ b/src/hooks/CCpp.conf
|
||||
@@ -7,7 +7,10 @@
|
||||
# If the original template string starts with "|", the string "core" is used
|
||||
# instead of the template.
|
||||
# For more information about naming core dump files see 'man 5 core'.
|
||||
-MakeCompatCore = yes
|
||||
+#
|
||||
+# 'no' because of RLIMIT_CORE='unlimited' since systemd-229:
|
||||
+# https://github.com/systemd/systemd/issues/2643
|
||||
+MakeCompatCore = no
|
||||
|
||||
# Do you want a copy of crashed binary be saved?
|
||||
# (useful, for example, when _deleted binary_ segfaults)
|
||||
--
|
||||
2.5.0
|
||||
|
15
abrt.spec
15
abrt.spec
@ -49,7 +49,7 @@
|
||||
Summary: Automatic bug detection and reporting tool
|
||||
Name: abrt
|
||||
Version: 2.8.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://abrt.readthedocs.org/
|
||||
@ -60,6 +60,13 @@ Patch0: disable-OpenGPGCheck-in-Fedora-Rawhide.patch
|
||||
# git format-patch %%{Version} --topo-order -N -M;
|
||||
# i=1; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done
|
||||
Patch0001: 0001-ccpp-drop-e-from-the-core_pattern.patch
|
||||
#Patch0002: 0002-translations-update-zanata-configuration.patch
|
||||
Patch0003: 0003-Translation-updates.patch
|
||||
Patch0004: 0004-translations-add-missing-new-line.patch
|
||||
Patch0005: 0005-Fix-minor-typo-possition-position.patch
|
||||
Patch0006: 0006-a-a-save-package-data-blacklist-usr-lib-64-firefox-p.patch
|
||||
#Patch0007: 0007-testsuite-add-concurrent-processing-test-for-abrtd.patch
|
||||
Patch0008: 0008-CCpp-turn-off-compat-cores.patch
|
||||
|
||||
# '%%autosetup -S git' -> git
|
||||
BuildRequires: git
|
||||
@ -1087,6 +1094,12 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
|
||||
|
||||
%changelog
|
||||
* Tue Feb 23 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-3
|
||||
- translation updates
|
||||
- blacklist Firefox's plugin-container
|
||||
- turn off compat cores
|
||||
- Resolves: #1308840
|
||||
|
||||
* Wed Feb 10 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-2
|
||||
- drop %e from the core_pattern
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user