[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.46-30-gd2044a4

Holger Levsen holger at layer-acht.org
Fri Sep 28 09:47:14 UTC 2012


The following commit has been merged in the piatti branch:
commit d96b3c5df5752dab9c799def5d70044a5aa36fa0
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Sep 26 17:23:43 2012 +0200

    known_problems: new: modifying conffiles or other shipped files
    
    modification/deletion is detected by debsums
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index d4f0714..aaadf1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ piuparts (0.47) UNRELEASED; urgency=low
   * detect_well_known_errors: Unclassified logs may still be bugged.
   * detect_piuparts_issues: Detect incomplete logfiles.
   * New bug template: modifies_conffiles.
+  * New known problem: Modifying conffiles or other shipped files.
 
  -- Andreas Beckmann <debian at abeckmann.de>  Sat, 15 Sep 2012 06:25:05 +0200
 
diff --git a/known_problems/debsums_mismatch_error.conf b/known_problems/debsums_mismatch_error.conf
new file mode 100644
index 0000000..a6c87af
--- /dev/null
+++ b/known_problems/debsums_mismatch_error.conf
@@ -0,0 +1,13 @@
+#
+# detect packages which modify shipped files
+#
+COMMAND='grep "FAIL: debsums reports modifications inside the chroot"'
+WHERE='fail bugged affected'
+ISSUE=0
+HEADER='Packages with modified files before removal'
+HELPTEXT='
+<p>
+Modifying conffiles is forbidden by Policy 10.7.3.
+Modifying other shipped files is a stupid idea.
+</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index 1ef20d3..3ab6a25 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -354,6 +354,7 @@ linktarget_by_template = [
     ("command_not_found_error.tpl", "due to a 'command not found' error"),
     ("files_in_usr_local_error.tpl", "due to files in /usr/local"),
     ("overwrite_other_packages_files_error.tpl", "due to overwriting other packages files"),
+    ("debsums_mismatch_error.tpl", "due to modifying conffiles or other shipped files"),
     ("alternatives_after_purge_error.tpl", "due to forgotten alternatives after purge"),
     ("owned_files_by_many_packages_error.tpl", "due to owned files by many packages"),
     ("owned_files_after_purge_error.tpl", "due to owned files existing after purge"),

-- 
piuparts git repository



More information about the Piuparts-commits mailing list