Bug 1040702

Summary: tar --compare --listed-incremental does not work
Product: [Fedora] Fedora Reporter: Philippe Troin <phil>
Component: tarAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: kdudka, ovasik, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tar-1.26-28.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 23:00:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Philippe Troin 2013-12-11 23:04:09 UTC
Description of problem:
tar --compare --listed-incremental does not work

Version-Release number of selected component (if applicable):
tar-1.26-27.fc19.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. mkdir x
2. cd x
3. touch a b c
4. tar --create --listed-incremental ../demo.targ --file ../demo .
5. tar --compare --listed-incremental /dev/null --file ../demo  

Actual results:
Command #5 (tar --compare) exits with code 2 and outputs:
tar: ./: Cannot savedir: Not a directory
tar: Exiting with failure status due to previous errors

Expected results:
Tar should exit with code 0 and report no errors.

Additional info:
tar-1.27.1-2 in Rawhide seems to work.

Comment 1 Pavel Raiskup 2013-12-12 16:15:00 UTC
Thanks for this report; this was fixed upstream some time ago.  I applied
this patch:

https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131209/1157932.html

Comment 2 Fedora Update System 2013-12-12 16:35:51 UTC
tar-1.26-30.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/tar-1.26-30.fc20

Comment 3 Fedora Update System 2013-12-12 21:19:13 UTC
tar-1.26-28.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/tar-1.26-28.fc19

Comment 4 Fedora Update System 2013-12-15 03:27:05 UTC
Package tar-1.26-28.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tar-1.26-28.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23388/tar-1.26-28.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-12-16 23:00:33 UTC
tar-1.26-28.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-12-20 01:35:42 UTC
tar-1.26-30.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.