[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Andreas Beckmann anbe at debian.org
Wed May 15 10:09:31 UTC 2013


The following commit has been merged in the master branch:
commit 3b7c93433c3c01be25a06a1ed6596d8c3d9301db
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Mar 17 11:26:39 2013 +0100

    kpr: add db_setup_issue
    
    db setup errors may be ignored, allowing an installationn to
    finish successfully
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 8e01c02..9b19b02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ piuparts (0.51) UNRELEASED; urgency=low
   * Makefile:
   * scripts-wheezy/post_setup_wheezy-fake-essential: New custom script to
     suppress some purge failures in wheezy.
+  * New known problem: Database setup failure (issue).
 
  -- Andreas Beckmann <anbe at debian.org>  Sat, 16 Mar 2013 00:14:13 +0100
 
diff --git a/known_problems/db_setup_error.conf b/known_problems/db_setup_issue.conf
similarity index 95%
copy from known_problems/db_setup_error.conf
copy to known_problems/db_setup_issue.conf
index 3de7a46..4c630a9 100644
--- a/known_problems/db_setup_error.conf
+++ b/known_problems/db_setup_issue.conf
@@ -2,8 +2,8 @@
 # detect packages with failed to install due to problems configuring the db - see #595652
 #
 COMMAND='grep -E "(dbconfig-common: .* configure: (aborted|noninteractive fail).|updating database schema for .*...command failed with code 0|psql: could not connect to server: No such file or directory|DBI connect.* failed: could not connect to server|pg_pconnect\(\): Unable to connect to PostgreSQL server|Unable to connect to MySQL server|unable to connect to mysql server)"'
-WHERE='fail bugged affected'
-ISSUE=0
+WHERE='pass'
+ISSUE=1
 HEADER='Packages with failed logs because installation failed because no database could be connected.'
 HELPTEXT='
 <p>
diff --git a/piuparts-report.py b/piuparts-report.py
index 6829526..e648916 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -348,6 +348,7 @@ linktarget_by_template = [
     ("owned_files_after_purge_issue.tpl", "but logfile contains owned files existing after purge"),
     ("unowned_files_after_purge_issue.tpl", "but logfile contains unowned files after purge"),
     ("maintainer_script_issue.tpl", "but logfile contains maintainer script failures"),
+    ("db_setup_issue.tpl", "but logfile contains failure to setup a database"),
     ("installs_over_symlink_issue.tpl", "but package installs something over existing symlinks"),
     ("broken_symlinks_issue.tpl", "but logfile contains 'broken symlinks'"),
     ("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),

-- 
piuparts git repository



More information about the Piuparts-commits mailing list