Package: backuppc
Version: 2.1.2-5
Severity: normal
Tags: patch
Hello,
tar 1.16 has changed in the way it reacts to files changing while being
archived, which results in backuppc failing with "backup failed (Tar
exited with error 256 () status)". Attached is a patch to fix this
problem, right from the backuppc-user mailing list, see Craig Barratt's
message in
http://sourceforge.net/mailarchive/message.php?msg_id=38014253
Kind regards
Wolfgang Karall
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages backuppc depends on:
ii adduser 3.102 Add and remove users and groups
ii apache2 2.2.3-3.2 Next generation, scalable, extenda
ii apache2-mpm-prefork [apache2] 2.2.3-3.2 Traditional model for Apache HTTPD
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii dpkg 1.13.25 package maintenance system for Deb
ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc
ii libcompress-zlib-perl 1.42-2 Perl module for creation and manip
ii perl [libdigest-md5-perl] 5.8.8-7 Larry Wall's Practical Extraction
ii perl-suid 5.8.8-7 Runs setuid Perl scripts
ii postfix [mail-transport-agent 2.3.6-1 A high-performance mail transport
ii samba-common 3.0.23d-4 Samba common files used by both th
ii smbclient 3.0.23d-4 a LanManager-like simple client fo
ii tar 1.16-2 GNU tar
ii wwwconfig-common 0.0.48 Debian web auto configuration
backuppc recommends no packages.
-- debconf information:
* backuppc/configuration-note:
* backuppc/add-lines: false
--- lib/BackupPC/Xfer/Tar.pm.orig 2007-01-21 12:19:38.184919731 +0100
+++ lib/BackupPC/Xfer/Tar.pm 2007-01-21 12:20:25.603227316 +0100
@@ -198,7 +198,7 @@ sub readOutput
my $mesg;
if ( sysread($t->{pipeTar}, $mesg, 8192) <= 0 ) {
vec($$FDreadRef, fileno($t->{pipeTar}), 1) = 0;
- if ( !close($t->{pipeTar}) ) {
+ if ( !close($t->{pipeTar}) and $? != 256 ) {
$t->{tarOut} .= "Tar exited with error $? ($!) status\n";
$t->{xferOK} = 0 if ( !$t->{tarBadExitOk} );
}