[Piuparts-commits] [piuparts] 01/02: detect more errors caused by full disks

Holger Levsen holger at layer-acht.org
Mon Mar 6 00:49:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 16ad64152003a69b5180594f068ea8f8b62c6ea0
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Mar 5 21:46:20 2017 +0100

    detect more errors caused by full disks
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog                     | 1 +
 master-bin/detect_piuparts_issues.in | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index eb75ef0..4ddcdf9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ piuparts (0.76) UNRELEASED; urgency=medium
   * scripts/pre_remove_exceptions: Handle removal of more packages pulling in
     'init'.
   * Add/update exceptions for ancient packages.
+  * master-bin/detect_piuparts_issues: Recognize more cases of full disks.
   * Add bug template for failing to upgrade from testing to sid.
   * Add bug template for shipping broken symlinks.
 
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 70e89ce..8008f50 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -44,8 +44,9 @@ for SECTION in $SECTIONS ; do
 		rgrep -l -e "E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "passwd: Authentication token manipulation error" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "(chfn|groupadd|useradd): cannot lock /etc/(group|gshadow|passwd|shadow|subuid); try again later." $MASTER/$SECTION/$subdir >> $FILE
-		rgrep -l -E "(groupadd|useradd): failure while writing changes to /etc/(group|passwd)" $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -E "(groupadd|useradd): failure while writing changes to /etc/(group|passwd|shadow)" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "useradd: cannot rewrite password file" $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -e "E: Sub-process Popen returned an error code (2)" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "ERROR: Command failed (status=-7): .* 'apt-cache'" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "^RuntimeError: maximum recursion depth exceeded while calling a Python object" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "^Traceback" $MASTER/$SECTION/$subdir >> $FILE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list