This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 238862 - cpio Illegal seek
cpio Illegal seek
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: cpio (Show other bugs)
4.5
i386 Linux
medium Severity medium
: rc
: ---
Assigned To: Ondrej Vasik
Brock Organ
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2008-07-24 15:57:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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

  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 
works.
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
cpio-2.5-13.RHEL4.i386
# 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
release.
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.

http://rhn.redhat.com/errata/RHBA-2008-0719.html

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