summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-02-22 19:53:10 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-02-22 19:53:10 +0100
commit8445adb47ece5ecf03d95d3d4d1af7b3415b25af (patch)
tree7654718a848b5c59b1e4a90527c14e8f79c61a08 /src
parent72a31a2a391e6c37255ed08b3bdbf1c38f20d753 (diff)
downloadabrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.tar.gz
abrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.tar.xz
abrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.zip
move ccpp related events to events.d/
- so now when the abrt-addon-ccpp is removed it's config will be removed with it, so the rest of abrt and libreport won't be confused
Diffstat (limited to 'src')
-rw-r--r--src/daemon/abrt_event.conf19
-rw-r--r--src/plugins/Makefile.am5
-rw-r--r--src/plugins/ccpp_events.conf17
3 files changed, 25 insertions, 16 deletions
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
index 34aba290..23765718 100644
--- a/src/daemon/abrt_event.conf
+++ b/src/daemon/abrt_event.conf
@@ -16,6 +16,9 @@
# Rule of the form "include GLOB_PATTERN" recurses to each file which matches
# GLOB_PATTERN. Example: "include post-create.d/*.conf"
#
+
+include events.d/*.conf
+
# Any other rules specify which programs to run on the crash dump.
#
# Each rule may have conditions to be checked before the program is run.
@@ -41,7 +44,6 @@
# abrt-action-analyze-c needs package name, save package data first
EVENT=post-create abrt-action-save-package-data
-EVENT=post-create analyzer=CCpp abrt-action-analyze-c
EVENT=post-create analyzer=Python abrt-action-analyze-python
EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops
# If you want all users (not just root) to be able to see oopses:
@@ -66,21 +68,6 @@ EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops
true
} 2>/dev/null
-#TODO: implement this (or add this functionality to abrt-action-install-debuginfo):
-#EVENT=analyze analyzer=CCpp backtrace= trim-debuginfo-cache /var/cache/abrt-di 4096m
-
-#TODO: can we still specify additional directories to search for debuginfos,
-# or was this ability lost with move to python installer?
-EVENT=analyze analyzer=CCpp backtrace= abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
-EVENT=analyze analyzer=CCpp backtrace= abrt-action-generate-backtrace
-
-# Same as "analyze", but executed when user requests "refresh" in GUI
-#EVENT=reanalyze analyzer=CCpp trim-debuginfo-cache /var/cache/abrt-di 4096m
-EVENT=reanalyze analyzer=CCpp abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
-EVENT=reanalyze analyzer=CCpp abrt-action-generate-backtrace
-
EVENT=report analyzer=Kerneloops abrt-action-kerneloops
-EVENT=report_Bugzilla analyzer=CCpp abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf
-EVENT=report_Logger analyzer=CCpp abrt-action-print -o /var/log/abrt.log
EVENT=report_Bugzilla analyzer=Python abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf
EVENT=report_Logger analyzer=Python abrt-action-print -o /var/log/abrt.log
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 938f88ba..c6451c83 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -37,6 +37,11 @@ dist_pluginsconf_DATA = \
RHTSupport.conf \
Upload.conf
+eventsconfdir = $(EVENTS_CONF_DIR)
+
+dist_eventsconf_DATA = \
+ ccpp_events.conf
+
man_MANS = \
abrt-Bugzilla.7 \
abrt-KerneloopsReporter.7 \
diff --git a/src/plugins/ccpp_events.conf b/src/plugins/ccpp_events.conf
new file mode 100644
index 00000000..1ad57608
--- /dev/null
+++ b/src/plugins/ccpp_events.conf
@@ -0,0 +1,17 @@
+EVENT=post-create analyzer=CCpp abrt-action-analyze-c
+
+#TODO: implement this (or add this functionality to abrt-action-install-debuginfo):
+#EVENT=analyze analyzer=CCpp backtrace= trim-debuginfo-cache /var/cache/abrt-di 4096m
+
+#TODO: can we still specify additional directories to search for debuginfos,
+# or was this ability lost with move to python installer?
+EVENT=analyze analyzer=CCpp backtrace= abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
+EVENT=analyze analyzer=CCpp backtrace= abrt-action-generate-backtrace
+
+# Same as "analyze", but executed when user requests "refresh" in GUI
+#EVENT=reanalyze analyzer=CCpp trim-debuginfo-cache /var/cache/abrt-di 4096m
+EVENT=reanalyze analyzer=CCpp abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
+EVENT=reanalyze analyzer=CCpp abrt-action-generate-backtrace
+
+EVENT=report_Bugzilla analyzer=CCpp abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf
+EVENT=report_Logger analyzer=CCpp abrt-action-print -o /var/log/abrt.log