Bug 916995

Summary: Tar is unable to list pax archive containing sparse file of effective size >8GB
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: low    
Version: rawhideCC: kdudka, ovasik, praiskup
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tar-1.26-31.fc20 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-06 02:34:54 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 2013-03-01 11:46:15 UTC
Steps to reproduce:

  $ truncate -s 1G testfile
  $ nl script
       1  $count = 8*1024; # 8*1GB
       2  while ($count>0) {
       3      syswrite(STDOUT, "#" x (1024*1024),  1024*1024);
       4      $count--;
       5  }
  $ time perl script >> testfile

  real    0m40.667s
  user    0m0.611s
  sys     0m7.827s
  $ time tar --posix -cSf test.tar testfile
  testfile

  real    2m53.054s
  user    0m5.566s
  sys     0m31.147s
  $ time tar -tf test.tar
  -rw-rw-r-- praiskup/praiskup 8589935104 2013-03-01 12:35 testfile
  tar: Skipping to next header
  tar: Exiting with failure status due to previous errors

  real    0m49.055s
  user    0m32.157s
  sys     0m4.213s
  $ echo $?
  2

Upstream proposal (not yet fixed upstream):

    http://lists.gnu.org/archive/html/bug-tar/2013-01/msg00013.html

Any comment is welcomed, this is low priority as the extraction works OK.

Pavel

Comment 1 Pavel Raiskup 2013-03-01 11:47:11 UTC
For more info look at bug #516309

Pavel

Comment 2 Fedora End Of Life 2013-04-03 20:21:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Fedora Update System 2014-04-01 20:55:18 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 4 Fedora Update System 2014-04-03 04:06:51 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 5 Fedora Update System 2014-04-06 02:34:54 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.