Package: tar
Version:  1.29-1

Hi,
this is a regression in tar 1.28-2.1 -> 1.29-1 and by that it is valid for
Debian Stretch (Testing).

Fortunately there is at least a simple test:
rm -rf dir; mkdir -p dir/subdir; touch dir/subdir/file; tar -c -f
/tmp/test.tar -C dir subdir --exclude subdir/file; tar -tf /tmp/test.tar
subdir/file

Correct:
tar: subdir/file: Not found in archive
tar: Exiting with failure status due to previous errors

Wrong:
subdir/file

This could cause quite a few weird/under-the-radar bugs all around - like
in my package which suddenly had more binaries. "Fortunately" one of them
collided with one of the system, so we found this issue.

Note: this is not a dup to bug 655895 - while the title is similar, the old
bug referred to a much older tar version and had a more complex --exclude
pattern - this simpler test was still ok back then (Tested on wheezy with
1.26+dfsg-0.1).

Kind Regards,
Christian

Reply via email to