[Piuparts-commits] [piuparts] 05/05: detect some more issues caused by full disks

Holger Levsen holger at layer-acht.org
Sat Mar 18 12:51:11 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 a1ecc4f8b3cf778d7f4047930109b4db6a77d91a
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Mar 12 17:01:43 2017 +0100

    detect some more issues 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                     | 2 ++
 master-bin/detect_piuparts_issues.in | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 14773b3..77640c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,8 @@ piuparts (0.77) UNRELEASED; urgency=medium
     - Mark logfiles for immediate recycling upon first appearance.
   * master-bin/detect_network_issues:
     - Detect outdated reference chroot meta data.
+  * master-bin/detect_piuparts_issues:
+    - Recognize more problems caused by a full filesystem.
 
  -- Andreas Beckmann <anbe at debian.org>  Sun, 12 Mar 2017 23:30:21 +0100
 
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 6013559..ecc8daf 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -44,10 +44,10 @@ for SECTION in $SECTIONS ; do
 		rgrep -l -e "E: You don't have enough free space in /var/cache/apt/archives/" $MASTER/$SECTION/$subdir >> $FILE
 		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|shadow)" $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -E "(chfn|groupadd|useradd): (cannot lock|failure while writing changes to) /etc/(group|gshadow|passwd|shadow|subuid)" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "(groupadd|useradd): (unable to lock|cannot rewrite) (group|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 "chroot: failed to run command '.*': Permission denied" $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