Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 80 - CPIO returns 'premature end of file' when extracting (copy in).
Summary: CPIO returns 'premature end of file' when extracting (copy in).
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: cpio
Version: 5.2
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: bero
QA Contact:
URL:
Whiteboard:
: 165 510 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-11-15 20:04 UTC by gjw
Modified: 2018-12-31 14:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1998-12-06 01:21:38 UTC
Embargoed:


Attachments (Terms of Use)

Description gjw 1998-11-15 20:04:04 UTC
Trying to install Citrix Winframe Client.
Attempts to 'cpio -icmud < (BIGFILE)'. Errors with
premature end of file. Grabbed cpio-2.4.2-9 src rpm.
Rebuilt, same error. Examine source code. Made cpio manually
with only the sys_errlist patch. the cpio I built manually
then extracted the data from the archive.

I consider this a serious deficency in a necessary
operating system tool.

Comment 1 Bill Nottingham 1998-11-16 13:51:59 UTC
*** This bug has been marked as a duplicate of 78 ***

Comment 2 Preston Brown 1998-11-23 12:20:59 UTC
*** Bug 165 has been marked as a duplicate of this bug. ***

Comment 3 Preston Brown 1998-11-23 12:22:59 UTC
NOT a duplicate of 78, bug still open.

Comment 4 Preston Brown 1998-11-23 12:23:59 UTC
*** Bug 165 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Johnson 1998-12-06 01:21:59 UTC
This problem is derivative on a fix to a previous problem
reported for Red Hat < 5.2, namely that

	find /any/dir | cpio -oc | cpio -ictv

failed. At the same time that that problem was fixed, the
interpretation of the "-c" flag was made compatible with Solaris
(and presumably all SVR4 systems). The compatibility
was tested by generating cpio archives with the native
cpio on Linux and Solaris and making sure that the cpio
ball could be read on the other system.

However, SVR4 compatibility changed the mapping of -c onto
GNU cpio archive formats. Prior to Red Hat 5.2, "cpio -c" was
equivalent to "cpio -H odc", while in Red Hat 5.2 "cpio -c"
is equivalent to "cpio -H newc".

So, anyone desiring the "old" behavior of cpio should specify
"-H odc" rather than "-c".

Comment 6 Jeff Johnson 1998-12-17 23:06:59 UTC
*** Bug 80 has been marked as a duplicate of this bug. ***

Regarding cpio-2.4.2-9.i368.rpm in RedHat 5.2:

Problem noted when installing Citrix client for Linux
(available from www.citrix.com), cpio error when trying to
install.  Downgraded to cpio-2.4.2-6 (shipped with RedHat
5.1 CD), problem disappeared.

Ben Eavey
12/17/1998
beavey


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