Bug 11329

Summary: Incorrect error message when installing from nfs mounted CD
Product: [Retired] Red Hat Linux Reporter: am
Component: anacondaAssignee: Erik Troan <ewt>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-04 18:24:35 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 am 2000-05-09 15:26:18 UTC
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 18:24:33 UTC
Applied fix -- thanks