Bug 11329 - Incorrect error message when installing from nfs mounted CD
Incorrect error message when installing from nfs mounted CD
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
6.2
sparc Linux
medium Severity low
: ---
: ---
Assigned To: Erik Troan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-09 11:26 EDT by am
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-04 14:24:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description am 2000-05-09 11:26:18 EDT
The error message printed for read problems when installing
from nfs mounted CD is incorrect.

Error message example:

  error 2 reading header: Success


Fix:

In the file:  /cdrom/misc/src/anaconda/isys/uncpio.c
function:     myCpioInstallArchive()

The code:

if ((rc = getNextHeader(&fd, &ch))) {
  fprintf(stderr, _("error %d reading header: %s\n"), rc, strerror(errno));

should probably be:

if ((rc = getNextHeader(&fd, &ch))) {
  fprintf(stderr, _("error %d reading header: %s\n"), rc,
myCpioStrerror(rc));


/Andreas Moestedt
Comment 1 Erik Troan 2000-08-04 14:24:33 EDT
Applied fix -- thanks

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