Bug 1001965

Summary: cpio fails with checksum error larger files >~200M
Product: [Fedora] Fedora Reporter: Fabian Deutsch <fdeutsch>
Component: cpioAssignee: Pavel Raiskup <praiskup>
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: cpio-2.11-21.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1415081 (view as bug list) Environment:
Last Closed: 2013-10-18 19:55:45 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:
Bug Depends On:    
Bug Blocks: 1415081    

Description Fabian Deutsch 2013-08-28 08:31:13 UTC
Description of problem:
cpio with crc format fails to verfy chjecksums and also can't extract the files.
This happens with files > ~200M (didn't see it with smaller ones).

Version-Release number of selected component (if applicable):
Version     : 2.11
Release     : 20.fc19
Architecture: x86_64


How reproducible:
Always

Steps to Reproduce:
1. Run:
dd if=/dev/urandom of=rand bs=1M count=300
echo rand | cpio --create --format=crc --verbose > rand.cpio
cpio --extract --only-verify-crc < rand.cpio

Actual results:
cpio fails with checksum error:
rand
614401 blocks
cpio: rand: checksum error (0x9568bd204, should be 0x568bd204)
614401 blocks


Expected results:
cpio doesn't get a checksum error

Additional info:

Comment 2 Pavel Raiskup 2013-09-20 21:35:38 UTC
Upstream report:
http://lists.gnu.org/archive/html/bug-cpio/2013-09/msg00000.html

Comment 3 Fedora Update System 2013-09-30 11:41:40 UTC
cpio-2.11-24.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cpio-2.11-24.fc20

Comment 4 Fedora Update System 2013-10-08 20:00:16 UTC
cpio-2.11-21.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cpio-2.11-21.fc19

Comment 5 Fedora Update System 2013-10-09 14:13:05 UTC
cpio-2.11-24.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-10-10 00:56:11 UTC
Package cpio-2.11-21.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 cpio-2.11-21.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18619/cpio-2.11-21.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-10-18 19:55:45 UTC
cpio-2.11-21.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.