On 2010-11-23 14:44 +0100, Xavier Bestel wrote:

> Package: backup-manager
> Version: 0.7.9-3
> Severity: wishlist
>
>
> Hi,
>
> I don't know why, but since 2 days the tar commands segfaults. I'd like to 
> debug why, but I don't know how to launch it, BM doesn't give enough info:
>
> [r...@awak:~]$ LANG=C backup-manager -v
> When validating the configuration file /etc/backup-manager.conf, 1 warnings 
> were found.
> /mnt/backup/awak-boot.20101123.tar.gz: ok (0M, 
> 262209eb997126fd42acc214edefc581)
> /usr/share/backup-manager/backup-methods.sh: line 605: 29229 Segmentation 
> fault      $command $file_to_create "$target" > $logfile 2>&1
> Unable to create "/mnt/backup/awak.20101123.tar.gz", check 
> /tmp/bm-tarball.log.KZlLhk
> /mnt/backup/awak-home.20101123.tar.gz: ok (319M, 
> fafbbe5d97116877f92221591619b1f4)
> Unable to find the md5 hash of file 
> "/mnt/backup/awak-home.20101101.master.tar.gz" in file 
> "/mnt/backup/awak-20101101.md5".
> Unable to find the md5 hash of file "/mnt/backup/awak-home.20101102.tar.gz" 
> in file "/mnt/backup/awak-20101102.md5".
> 1 error occurred during the tarball generation.
> [r...@awak:~]$ cat /tmp/bm-tarball.log.KZlLhk
> /bin/tar: Removing leading `//' from member names
> [r...@awak:~]$ 
>
> Is there an easy way to debug it ?

You could set BM_LOGGER_LEVEL to "debug", maybe that helps.  There is
also an undocumented "-d|--debug" option for backup-manager.  Otherwise,
insert a "set -x" at the beginning of /usr/bin/backup-manager and you
will be overwhelmed by its verbosity. ;-)

BTW, what are your tar and libc6 versions?

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to