Your message dated Mon, 23 Jan 2006 14:02:17 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#347930: fixed in backuppc 2.1.2-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jan 2006 16:18:14 +0000
>From [EMAIL PROTECTED] Fri Jan 13 08:18:14 2006
Return-path: <[EMAIL PROTECTED]>
Received: from extavgw3.ball.com ([162.18.103.210])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ExRd0-0005uc-Ba
        for [EMAIL PROTECTED]; Fri, 13 Jan 2006 08:18:14 -0800
Received: from AEROMSG3.AERO.BALL.COM (Not Verified[162.18.82.158]) by 
extavgw3.ball.com with NetIQ MailMarshal 6.0 Service Pack 1a (v6,0,3,33)
        id <B43c7d2540001>; Fri, 13 Jan 2006 09:16:20 -0700
Received: from hypostasis ([162.18.79.136]) by AEROMSG3.AERO.BALL.COM with 
Microsoft SMTPSVC(6.0.3790.0);
         Fri, 13 Jan 2006 09:17:42 -0700
Received: from tevaugha by hypostasis with local (Exim 3.36 #1 (Debian))
        id 1ExRcU-0006Nj-00; Fri, 13 Jan 2006 09:17:42 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Thomas E. Vaughan" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: backuppc: false "errors" in incremental tar-1.15.x-based backup 
(upstream
 patch available)
Reply-To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Fri, 13 Jan 2006 09:17:42 -0700
X-OriginalArrivalTime: 13 Jan 2006 16:17:42.0171 (UTC) 
FILETIME=[E13F2EB0:01C6185C]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: backuppc
Version: 2.1.2-3
Severity: normal
Tags: patch


Apparently, GNU tar-1.15.x has output that for an
incremental backup causes backuppc to record a very large
number of "errors", even though there are really no errors.

The upstream site has a patch to fix this:
http://prdownloads.sourceforge.net/backuppc/BackupPC-2.1.2pl0.diff?download

Here is the content:

----------begin patch----------
#
# BackupPC-2.1.2pl0.diff: BackupPC patch file generated
# on Sun Dec 11 23:48:15 2005.
#
# This patch file should be applied to a cleanly unpacked BackupPC
# version 2.1.2.  Do not apply any old patch files; each
# patch file accumulates all previous changes.
#
# Example:
#
#     # fetch BackupPC-2.1.2.tar.gz
#     # fetch BackupPC-2.1.2pl0.diff
#     tar zxvf BackupPC-2.1.2.tar.gz
#     cd BackupPC-2.1.2
#     patch -p0 < ../BackupPC-2.1.2pl0.diff
#     perl configure.pl
#
# ChangeLog:
#
#  - Added patch from Michael (mna.news) to ignore "file is unchanged"
#    message from tar 1.15.x during incremental backups.
#
#  - Fixed creation of .rsrc directories in bin/BackupPC_tarExtract
#    when used with xtar on MacOS.  Reported by Samuel Bancal and
#    Matthew Radey, who helped with debugging.
#
--- bin/BackupPC_tarExtract     2005-09-05 16:21:21.000000000 -0700
+++ bin/BackupPC_tarExtract     2005-12-11 23:48:15.492844664 -0800
@@ -58,7 +58,7 @@
     exit(1);
 }
 my $client = $1;
-if ( $ARGV[1] !~ /^([\w\s\.\/\$-]+)$/ ) {
+if ( $ARGV[1] !~ /^([\w\s.\/$(){}[\]-]+)$/ ) {
     print("$0: bad share name '$ARGV[1]'\n");
     exit(1);
 }
@@ -251,7 +251,7 @@
         $name     = $longName if ( defined($longName) );
         $linkname = $longLink if ( defined($longLink) );
         $name     =~ s{^\./+}{};
-        $name     =~ s{/+$}{};
+        $name     =~ s{/+\.?$}{};
         $name     =~ s{//+}{/}g;
         return {
             name       => $name,
@@ -313,7 +313,7 @@
         #
         my($nRead);
         #print("Reading $f->{name}, $f->{size} bytes, type $f->{type}\n");
-        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f);
+        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f);
         my $poolWrite = BackupPC::PoolWrite->new($bpc,
                                          "$OutDir/$ShareName/$f->{mangleName}",
                                          $f->{size}, $Compress);
@@ -351,7 +351,7 @@
        # a plain file.
         #
         $f->{size} = length($f->{linkname});
-        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f);
+        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f);
         my $poolWrite = BackupPC::PoolWrite->new($bpc,
                                          "$OutDir/$ShareName/$f->{mangleName}",
                                          $f->{size}, $Compress);
@@ -369,7 +369,7 @@
         # contents.
         #
         $f->{size} = length($f->{linkname});
-        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f);
+        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f);
         my $poolWrite = BackupPC::PoolWrite->new($bpc,
                                          "$OutDir/$ShareName/$f->{mangleName}",
                                          $f->{size}, $Compress);
@@ -393,7 +393,7 @@
         } else {
             $data = "$f->{devmajor},$f->{devminor}";
         }
-        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f);
+        pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f);
         my $poolWrite = BackupPC::PoolWrite->new($bpc,
                                          "$OutDir/$ShareName/$f->{mangleName}",
                                          length($data), $Compress);
@@ -487,17 +487,21 @@
 #
 sub pathCreate
 {
-    my($dir, $fullPath, $file, $f) = @_;
+    my($dir, $fullPath, $f) = @_;
 
     #
     # Get parent directory of each of $dir and $fullPath
     #
-    $dir      =~ s{/[^/]*$}{};
+    # print("pathCreate: dir = $dir, fullPath = $fullPath\n");
+    $dir      =~ s{/([^/]*)$}{};
+    my $file  = $bpc->fileNameUnmangle($1);
     $fullPath =~ s{/[^/]*$}{};
-    return if ( -d $fullPath );
+    return if ( -d $fullPath || $file eq "" );
+    unlink($fullPath) if ( -e $fullPath );
     mkpath($fullPath, 0, 0777);
     $Attrib{$dir} = BackupPC::Attrib->new({ compress => $Compress })
                                 if ( !defined($Attrib{$dir}) );
+    # print("pathCreate: adding file = $file to dir = $dir\n");
     $Attrib{$dir}->set($file, {
                             type  => BPC_FTYPE_DIR,
                             mode  => 0755,
--- lib/BackupPC/Lib.pm 2005-09-05 16:21:21.000000000 -0700
+++ lib/BackupPC/Lib.pm 2005-12-11 23:48:15.536837976 -0800
@@ -59,7 +59,7 @@
         TopDir  => $topDir || '__TOPDIR__',
         BinDir  => $installDir || '__INSTALLDIR__',
         LibDir  => $installDir || '__INSTALLDIR__',
-        Version => '2.1.2',
+        Version => '2.1.2pl0',
         BackupFields => [qw(
                     num type startTime endTime
                     nFiles size nFilesExist sizeExist nFilesNew sizeNew
--- lib/BackupPC/Xfer/Tar.pm    2005-09-05 16:21:21.000000000 -0700
+++ lib/BackupPC/Xfer/Tar.pm    2005-12-11 23:48:15.681815936 -0800
@@ -221,8 +221,13 @@
             $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 2 );
             $t->{fileCnt}++;
         } else {
-            $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
-            $t->{xferErrCnt}++;
+            #
+            # Ignore annoying log message on incremental for tar 1.15.x
+            #
+            if ( !/: file is unchanged; not dumped$/ ) {
+                $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
+                $t->{xferErrCnt}++;
+            }
            #
            # If tar encounters a minor error, it will exit with a non-zero
            # status.  We still consider that ok.  Remember if tar prints
----------end patch----------

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages backuppc depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  apache                        1.3.34-2   versatile, high-performance HTTP s
ii  apache2-mpm-prefork [apache2] 2.0.55-3   traditional model for Apache2
ii  debconf [debconf-2.0]         1.4.67     Debian configuration management sy
ii  dpkg                          1.13.11.1  package maintenance system for Deb
ii  exim [mail-transport-agent]   3.36-18    An MTA (Mail Transport Agent)
ii  libarchive-zip-perl           1.16-1     Module for manipulation of ZIP arc
ii  libcompress-zlib-perl         1.41-1     Perl module for creation and manip
ii  perl [libdigest-md5-perl]     5.8.7-10   Larry Wall's Practical Extraction 
ii  perl-suid                     5.8.7-10   Runs setuid Perl scripts
ii  samba-common                  3.0.21a-1  Samba common files used by both th
ii  smbclient                     3.0.21a-1  a LanManager-like simple client fo
ii  tar                           1.15.1-2   GNU tar
ii  wwwconfig-common              0.0.44     Debian web auto configuration

backuppc recommends no packages.

-- debconf information:
* backuppc/configuration-note:
* backuppc/add-lines: true

---------------------------------------
Received: (at 347930-close) by bugs.debian.org; 23 Jan 2006 22:18:44 +0000
>From [EMAIL PROTECTED] Mon Jan 23 14:18:44 2006
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1F19lR-00027K-NO; Mon, 23 Jan 2006 14:02:17 -0800
From: Ludovic Drolez <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#347930: fixed in backuppc 2.1.2-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 23 Jan 2006 14:02:17 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: backuppc
Source-Version: 2.1.2-4

We believe that the bug you reported is fixed in the latest version of
backuppc, which is due to be installed in the Debian FTP archive:

backuppc_2.1.2-4.diff.gz
  to pool/main/b/backuppc/backuppc_2.1.2-4.diff.gz
backuppc_2.1.2-4.dsc
  to pool/main/b/backuppc/backuppc_2.1.2-4.dsc
backuppc_2.1.2-4_all.deb
  to pool/main/b/backuppc/backuppc_2.1.2-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Drolez <[EMAIL PROTECTED]> (supplier of updated backuppc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 23 Jan 2006 21:43:30 +0100
Source: backuppc
Binary: backuppc
Architecture: source all
Version: 2.1.2-4
Distribution: unstable
Urgency: low
Maintainer: Ludovic Drolez <[EMAIL PROTECTED]>
Changed-By: Ludovic Drolez <[EMAIL PROTECTED]>
Description: 
 backuppc   - high-performance, enterprise-grade system for backing up PCs
Closes: 347930
Changes: 
 backuppc (2.1.2-4) unstable; urgency=low
 .
   * Added BackupPC-2.1.2pl0.diff. Closes: #347930
Files: 
 4d227638ccba3a1cc1f08fc4e53e5008 599 utils optional backuppc_2.1.2-4.dsc
 ee8e7f1ad0e1633a202e2ae38d7c529d 20257 utils optional backuppc_2.1.2-4.diff.gz
 ddf9d2a2c009638ee770280f09f5a1fc 416504 utils optional backuppc_2.1.2-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD1UbIsRlQAP1GppgRAiYGAJ9BvHrknEEI+hIJDaMLXP6Z+feERQCbB9os
DuSa0cvHk4mF05upIZDc0kc=
=UhyR
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to