summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-02-22 05:09:13 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-02-22 05:09:13 +0100
commit20a9c4ddff4e597bc67f6cc232890ea946b38692 (patch)
treed57f93f61e703dab499303e56be57ba490332217 /src/daemon
parente69d06fe2be6ccf4c06ab5b76aac9838ab2dc2f9 (diff)
downloadabrt-20a9c4ddff4e597bc67f6cc232890ea946b38692.tar.gz
abrt-20a9c4ddff4e597bc67f6cc232890ea946b38692.tar.xz
abrt-20a9c4ddff4e597bc67f6cc232890ea946b38692.zip
abrt-action-install-debuginfo: disallow overriding paths to writable dirs
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/abrt_event.conf23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
index 0c94341f..22a22bdc 100644
--- a/src/daemon/abrt_event.conf
+++ b/src/daemon/abrt_event.conf
@@ -67,27 +67,16 @@ EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops
} 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
+#EVENT=analyze analyzer=CCpp backtrace= trim-debuginfo-cache /var/cache/abrt-di 4096m
-# Additional directories to search for debuginfos can be specified
-# in the third argument (its format is CACHEDIR[:DEBUGINFODIR...]).
-# For example, you can specify a network-mounted shared store
-# of all debuginfos this way.
-
-# FIXME!!! this is a sgid binary. It must not be possible to pass names
-# of writable directories as parameters, otherwise any user will be able
-# to write into them by calling abrt-action-install-debuginfo
-# with specially-crafted params!
-
-EVENT=analyze analyzer=CCpp backtrace=
- abrt-action-install-debuginfo --core="$DUMP_DIR/coredump" --tmpdir="/tmp/$$-$RANDOM" --cache=/var/cache/abrt-di
-
-EVENT=analyze analyzer=CCpp backtrace= abrt-action-generate-backtrace
+#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" --tmpdir="/tmp/$$-$RANDOM" --cache=/var/cache/abrt-di
+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