Bug 238862 - cpio Illegal seek
cpio Illegal seek
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: cpio (Show other bugs)
i386 Linux
medium Severity medium
: rc
: ---
Assigned To: Ondrej Vasik
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2007-05-03 10:18 EDT by Brian Smith
Modified: 2012-08-23 08:44 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2008-0719
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-24 15:57:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Strace output (97.85 KB, text/plain)
2008-06-13 06:08 EDT, Michal Nowak
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0719 normal SHIPPED_LIVE cpio bug fix update 2008-07-23 12:08:42 EDT

  None (edit)
Description Brian Smith 2007-05-03 10:18:26 EDT
When using cpio-2.5-13.RHEL4 and attempting the command:

find . -print | cpio -oacB  --rsh-command=/usr/bin/rsh -O host:/backups/a.cpio

It returns:
host: Connection refused
cpio: host:/backups/a.cpio: Illegal seek

If I force install cpio-2.5-9.RHEL4.i386.rpm and use that binary, the command 
Comment 1 Brian Smith 2007-05-03 10:37:36 EDT
I guess since I have a work around this can be medium
Comment 2 Radek Brich 2007-07-25 10:26:35 EDT
Well, I got different results:

# rpm -q cpio
# find . -print | cpio -oacB  --rsh-command=/usr/bin/rsh -O host:/root/a.cpio
Segmentation fault
# find . -print | /tmp/cpio -oacB  --rsh-command=/usr/bin/rsh -O host:/root/a.cpio
20 blocks

The second binary is from 2.5-9.RHEL4. No doubt something is broken there...
Comment 3 RHEL Product and Program Management 2007-11-28 23:20:40 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Brian Smith 2007-11-29 10:15:50 EST
FYI, this seems fixed in RHEL5
Comment 10 Michal Nowak 2008-06-13 06:08:45 EDT
Created attachment 309188 [details]
Strace output
Comment 22 errata-xmlrpc 2008-07-24 15:57:04 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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