From b5f18dbe443f8b0295d34f23d00e66d324dff28b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 22 Sep 2010 18:05:08 +0200 Subject: 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 --- src/daemon/Daemon.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/daemon/Daemon.cpp') 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); -- cgit