Bug 1082608

Summary: Infinite loop during sparse-file archivation and archive comparison (containing sparse files)
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: tarAssignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: kdudka, ovasik, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tar-1.26-31.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-06 02:34:50 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:
Embargoed:

Description Pavel Raiskup 2014-03-31 13:18:41 UTC
(a) tar loops indefinitely if sparse file actually stored into archive gets
    truncated in the middle of hole

(b) tar loops indefinitely if user stored sparse file into archive (with -S) and
    the archive got truncated after that — performing archive comparison (by
    --diff, --compare) loops indefinitely after file truncation

Reported upstream by François Ouellet:
http://www.mail-archive.com/bug-tar@gnu.org/msg04432.html

Comment 1 Fedora Update System 2014-04-01 20:55:15 UTC
tar-1.26-31.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/tar-1.26-31.fc20

Comment 2 Fedora Update System 2014-04-03 04:06:47 UTC
Package tar-1.26-31.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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-31.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4716/tar-1.26-31.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-04-06 02:34:50 UTC
tar-1.26-31.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.