Bug 738823

Summary: xzcat complains that compressed data is corrupt, xz -c works fine
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: xzAssignee: Jindrich Novy <jnovy>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: a.badger, jnovy, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-15 22:08:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2011-09-15 21:51:22 UTC
Description of problem:

# file initrd.img
initrd.img: XZ compressed data
# xzcat initrd.img > /tmp/initrd.raw
xzcat: initrd.img: Compressed data is corrupt
# xz -c < initrd.img > /tmp/initrd.raw
#

xzcat does produce about 12MB of output.

Version-Release number of selected component (if applicable):
xz-5.0.3-1.fc15.i686

Also seen on EL6 with xz-4.999.9-0.3.beta.20091007git.el6.x86_64

Comment 1 Orion Poplawski 2011-09-15 22:06:26 UTC
Okay, user error there.  unxz -c gives the same error (corrupt).  Not sure what is up with it complaining about being corrupt though.

Comment 2 Orion Poplawski 2011-09-15 22:08:20 UTC
Apparently it is a series of xz images...