Bug 2106342 - tar: error extracting sparse file >= 8G archived by bsdtar
Summary: tar: error extracting sparse file >= 8G archived by bsdtar
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libarchive
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Javorsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 12:00 UTC by Lukas Javorsky
Modified: 2022-07-16 01:22 UTC (History)
7 users (show)

Fixed In Version: libarchive-3.5.3-3.fc36
Clone Of:
Environment:
Last Closed: 2022-07-16 01:22:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Javorsky 2022-07-12 12:00:29 UTC
This bug was initially created as a copy of Bug #2037839

I am copying this bug because: 



Tar fails with error (EOF) when trying to extract archive created by bsdtar containing sparse file with size >= 8G.

Error:
tar -xzf archive.tar.gz -C extract
tar: Ignoring unknown extended header keyword 'SCHILY.fflags'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Reproducer:
reproducer attached

Package versions:
tar-1.30-5.el8.x86_64
bsdtar-3.3.3-1.el8.x86_64

Comment 2 Fedora Update System 2022-07-14 09:19:59 UTC
FEDORA-2022-bb1bffd05b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb1bffd05b

Comment 3 Fedora Update System 2022-07-15 01:20:24 UTC
FEDORA-2022-bb1bffd05b has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-bb1bffd05b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb1bffd05b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-07-16 01:22:39 UTC
FEDORA-2022-bb1bffd05b has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.