From 86fc61db75385d6fb452b4cf88aec1deffa3a5be Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 23 Nov 2010 15:51:54 +0100 Subject: remove sqlite DB This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko --- src/plugins/abrt-action-install-debuginfo | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/abrt-action-install-debuginfo') diff --git a/src/plugins/abrt-action-install-debuginfo b/src/plugins/abrt-action-install-debuginfo index c1b8fdb9..59bccba9 100755 --- a/src/plugins/abrt-action-install-debuginfo +++ b/src/plugins/abrt-action-install-debuginfo @@ -25,7 +25,8 @@ # # Exitcodes: # 0 - all debuginfos are installed -# 1 - not all debuginfos are installed +# 0 - not all debuginfos are installed +# (was 1, but this scares event processing) # 2+ - serious problem # # Algorithm: @@ -413,6 +414,8 @@ done cleanup_and_report_missing -test x"$missing_build_ids" != x"" && exit 1 +# Was exiting with 1, but this stops event processing. +test x"$missing_build_ids" != x"" && exit 0 + echo "All needed debuginfos are present" exit 0 -- cgit