diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-22 18:05:08 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-22 18:05:08 +0200 |
commit | b5f18dbe443f8b0295d34f23d00e66d324dff28b (patch) | |
tree | a98b68436cc5e69c71782243963b37fd74593367 /src/daemon/Daemon.cpp | |
parent | 3550d52943a2f8214d82e5cc6e6f00beb5d8d1ed (diff) | |
download | abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.tar.gz abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.tar.xz abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.zip |
This patch splits off abrtd's package/component/description
generation into a separate tool:
abrt-action-save-package-data: invalid option -- 'z'
Usage: abrt-action-save-package-data -d DIR [-vs]
Query package database and save package name, component,
and description
Options:
-d DIR Crash dump directory
-v Verbose
-s Log to syslog
This also allows for debugging and regression testing of
abrt-action-save-package-data - it can be simply run
from command-line.
Also it provides a better fault isolation - crash in
abrt-action-save-package-data does not take down abrtd.
Same goes for isolation of memory leaks - old code actually
had leaks on a rarely used error path. New code doesn't,
but if it would have, it wouldn't matter, since the process
is short-lived.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/Daemon.cpp')
-rw-r--r-- | src/daemon/Daemon.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index b7024296..2564a82a 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -719,11 +719,8 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin case MW_IN_DB: log("Huh, this crash is already in db?! Nothing to do"); break; - case MW_BLACKLISTED: case MW_CORRUPTED: - case MW_PACKAGE_ERROR: case MW_GPG_ERROR: - case MW_FILE_ERROR: default: log("Corrupted or bad crash %s (res:%d), deleting", fullname, (int)res); delete_debug_dump_dir(fullname); |