Package: backup2l
Version: 1.4
Severity: normal
File: /etc/backup2l.conf
Tags: patch

Hello,

the DRIVER_MY_AFIOBZ2 is buggy:

Creating archive using 'DRIVER_MY_AFIOBZ2'...
Checking TOC of archive file (< real file, > archive entry)...
afio: "-": Input does not start with valid archive header.
afio: "-": Use the -k option to start reading in the middle of an archive.
afio: "-" [offset 6]: Fatal error:
afio: "-": Unrecognizable archive
  1,551d0

It's a small error in the invocation of afio. The following patch fixes it:

@@ -232,7 +233,7 @@
             echo "afio-bz2"
             ;;
         -create)        # Arguments: $2 = BID, $3 = archive file name, $4 = 
file list file
-            afio -z -1 m -P bzip2 -Q -9 -Z -M 50m -T 1k - <$4 >$3 2>&1
+            afio -z -1 m -P bzip2 -Q -9 -Z -M 50m -T 1k -o $3 <$4 2>&1
                 # This line passes some additional options to afio (see 
afio(1)):
                 # '-P bzip2' utilizes bzip2 as an external compressor
                 # '-Q 9' maximizes the compression by bzip2.


Best regards,
  Silvestre

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-vs2.0.1-pre3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages backup2l depends on:
ii  findutils                     4.2.25-1   utilities for finding files--find,

Versions of packages backup2l recommends:
ii  afio                          2.5-3      archive file manipulation program
ii  tar                           1.15.1-2   GNU tar

-- 
http://silvestre.zabala.name/

Attachment: signature.asc
Description: Digital signature

Reply via email to