summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-07 12:37:45 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-07 12:37:45 +0100
commit6b36135970dd9ba4694e626e3fbd8166c64d8cdc (patch)
tree09468c7403bdd77ceddb02ac3571e83a6a504406 /src
parent9fa0918b822b4d81a8adf7392c4e18e87d351872 (diff)
downloadabrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.tar.gz
abrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.tar.xz
abrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.zip
ccpp: add a possibility to disable backtrace generation
+ assorted minor tweaks Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Daemon/abrt.conf15
-rw-r--r--src/Gui/CCMainWindow.py2
2 files changed, 10 insertions, 7 deletions
diff --git a/src/Daemon/abrt.conf b/src/Daemon/abrt.conf
index 0a5cdc4..276bf25 100644
--- a/src/Daemon/abrt.conf
+++ b/src/Daemon/abrt.conf
@@ -1,16 +1,17 @@
-# test conf file. it will be generated in the future
-
-# Common abrt settings
[ Common ]
# With this option set to "yes",
# only crashes in signed packages will be analyzed.
-# uses prelink which can be dangerous, and it's disallowed by SELinux
+# Checking signatures may require prelink to be run.
+# This has a remote possibility of breaking binaries and libraries,
+# and also SELinux gets unhappy about prelink trying to modify them.
OpenGPGCheck = no
# GPG keys
OpenGPGPublicKeys = /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
# Blacklisted packages
BlackList = nspluginwrapper
-# Enabled plugins. There has to be exactly one database plugin
+# Enabled plugins.
+# You can disable handling e.g. Python crashes by not listing Python here.
+# There has to be exactly one database plugin enabled.
EnabledPlugins = SQLite3, CCpp, Logger, Kerneloops, KerneloopsScanner, KerneloopsReporter, Bugzilla, Python, RunApp
# Database
Database = SQLite3
@@ -20,14 +21,14 @@ MaxCrashReportsSize = 1000
#ActionsAndReporters = Mailx("[abrt] new crash was detected")
ActionsAndReporters = RunApp("test x\"`cat component`\" = x\"xorg-x11-server-Xorg\" && cp /var/log/Xorg.0.log .")
-# Reporters association with analyzers
+# What actions or reporters to run on specified crash type
[ AnalyzerActionsAndReporters ]
Kerneloops = KerneloopsReporter
CCpp = Bugzilla, Logger
Python = Bugzilla, Logger
#CCpp:xorg-x11-apps = RunApp("date", "date.txt")
-# Repeated calling of Action plugins
+# Which Action plugins to run repeatedly
[ Cron ]
# h:m - at h:m an action plugin is activated
# s - every s seconds is an action plugin activated
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index db1f727..77ce3d3 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -114,6 +114,8 @@ class MainWindow():
self.ccdaemon.connect("analyze-complete", self.on_analyze_complete_cb, self.pBarWindow)
self.ccdaemon.connect("abrt-error", self.error_cb)
self.ccdaemon.connect("update", self.update_cb)
+ # for now, just treat them the same (w/o this, we don't even see daemon warnings in logs!):
+ self.ccdaemon.connect("warning", self.update_cb)
self.ccdaemon.connect("show", self.show_cb)
self.ccdaemon.connect("daemon-state-changed", self.on_daemon_state_changed_cb)
self.ccdaemon.connect("report-done", self.on_report_done_cb)