Red Hat Bugzilla – Bug 27390
CD installation fails silently, crashes or hangs if CD is corrupt
Last modified: 2007-04-18 12:31:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)
The boxed RH7.0 Professional we received at the Cambridge offices contained
a bad CD (Binary #1), unkown to us at the time.
The GUI installation did not report any errors when attempting to install
these RPMs and silently failed leaving you with the impression that the
install worked, or leaving you in no doubt that there was a problem during
istallation (but no idea to the cause).
Steps to Reproduce:
1. Start a custom istallation (Do not select GUI login (level 5)) and
ensure one of the corrupt (unreadable) RPMs is included (util-linux always
should be by default). Either your install will hang, crash (see log), or
fail silently. For the latter continue with 2&3
2. Reboot as per normal
3. Attempt to login as root (fails as login was not installed)
Actual Results: For the hang, the install, er, hung.
For the crash, see additional info for the anaconda.txt
For the silent failure, you could not login in level 3.
Attempting to read each RPM in full off the CD revealed 3 bad RPMs, one of
which was util-linux. It was only after the silent fail that I could
reboot and bring up the system in single-user to discover that util-linux
(and hence login) did not install.
Expected Results: Error reporting failure reading the RPM off the CD.
Traceback (innermost last):
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", line
20, in run
rc = self.todo.doInstall ()
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1632, in
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1384, in
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1168, in
stdout = devnull)
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iutil.py", line 40, in
raise RuntimeError, command + " can not be run"
RuntimeError: /usr/bin/chfn can not be run
Local variables in innermost frame:
argv: ['/usr/bin/chfn', '-f', 'Alex Schuilenburg', 'alex']
We have a feature request for rpmlib in that would let us know when a package
failed to install properly. At the moment we are not notified of this failure.
To the installer it looks like the package install was completely and its time
to move on.
This is understandably irritating to you and I apologize for the inconvenience
*** This bug has been marked as a duplicate of 17928 ***