Package: storebackup Version: 1.19-6 Severity: normal Tags: patch
When the backup disk is full and storebackup tries to create the new archive directory, it does not report "failed to create directory" or "disk full" like mkdir does: % mkdir /backup/2010.06.23_10.06.16 mkdir: cannot create directory `/backup/2010.06.23_10.06.16': No space left on device % storeBackup -f /backup/storebackup.conf [...including directories...] INFO 2010.06.23 10:21:25 6160 including </home/max/.xine> unknown param <1> in printLog::print unknown param <ARRAY(0x85715f0)> in printLog::print INFO 2010.06.23 10:21:25 6160 analysis of old Backups in </backup>: [...] INFO 2010.06.23 10:21:25 6160 follow links depth is 0 ERROR 2010.06.23 10:21:25 6160 cannot open </backup/2010.06.23_10.21.25/.md5CheckSums.notFinished> This bug is the same as in https://bugs.launchpad.net/ubuntu/+source/storebackup/+bug/212258 Applying the fix proposed in this report works for me: % storeBackup -f /backup/storebackup.conf [...] ERROR 2010.06.23 10:46:40 7068 cannot create </backup/2010.06.23_10.46.40>, exiting This is what storebackup should say ("disk full" would be better, but this would require too much change). A patch file is attached. Thanks Max Gaukler -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages storebackup depends on: ii bzip2 1.0.5-1 high-quality block-sorting file co ii debianutils 2.30 Miscellaneous utilities specific t ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction storebackup recommends no packages. storebackup suggests no packages. -- no debconf information
--- /usr/bin/storeBackup 2005-12-31 15:43:54.000000000 +0100 +++ ./storeBackup 2010-06-23 10:52:54.000000000 +0200 @@ -3180,7 +3180,7 @@ # Neues Verzeichnis anlegen $prLog->print('-kind' => 'E', - ["cannot create <$aktDir>, exiting"], + '-str' => ["cannot create <$aktDir>, exiting"], '-exit' => 1) unless (mkdir $aktDir); chmod 0755, $aktDir;