Package: dar
Version: 2.5.1-1
Severity: important
Dear Maintainer,
I have identified a data corruption issue with dar version 2.5.0 and
later when creating compressed archives. The issue is not present in
dar version 2.4.19 or earlier.
When I create a compressed archive with
# dar --nodump -z9 -Q -w -c test -R /home
--------------------------------------------
74006 inode(s) saved
including 18 hard link(s) treated
0 inode(s) changed at the moment of the backup and could not be saved
properly
0 byte(s) have been wasted in the archive to resave changing files
0 inode(s) not saved (no inode/file change)
0 inode(s) failed to be saved (filesystem error)
2 inode(s) ignored (excluded by filters)
0 inode(s) recorded as deleted from reference backup
--------------------------------------------
Total number of inode(s) considered: 74008
--------------------------------------------
EA saved for 0 inode(s)
FSA saved for 73922 inode(s)
--------------------------------------------
the resulting archive cannot be read, e.g., testing fails with
# dar -t test
Final memory cleanup...
FATAL error, aborting operation
Cannot open catalogue: incoherent catalogue structure
If I disable compression by removing the flag -z9, the resulting
archive is not corrupted. Unfortunately I cannot provide you with
a copy of the archive.
However, using git bisect I could identify the commit that causes
dar to create corrupted archives when compression is enabled:
9fbb23226c4ed52fdfadf58f55897bf4f001ed31 is the first bad commit
commit 9fbb23226c4ed52fdfadf58f55897bf4f001ed31
Author: Denis Corbin <[email protected]>
Date: Sun May 17 17:32:19 2015 +0200
having trivial_sar knowing the current position without asking the
reference layer
:040000 040000 187df9e8f2b415fde00afcd0f0f21c02460ace1e
95d71673a32dc57d29bbed7434bb1431f4223843 M src
Regards,
Peter
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dar depends on:
ii libassuan0 2.4.0-1
ii libattr1 1:2.4.47-2
ii libbz2-1.0 1.0.6-8
ii libc6 2.19-22
ii libdar64-5000 2.5.1-1
ii libgcc1 1:5.2.1-23
ii libgcrypt20 1.6.4-3
ii libgpg-error0 1.20-1
ii libgpgme11 1.6.0-1
ii liblzo2-2 2.08-1.2
ii libstdc++6 5.2.1-23
ii zlib1g 1:1.2.8.dfsg-2+b1
dar recommends no packages.
Versions of packages dar suggests:
pn dar-docs <none>
ii par2 0.6.14-1
-- no debconf information