Red Hat Bugzilla – Bug 52031
poor handling of non-existant disk during installation
Last modified: 2007-04-18 12:36:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-2smp i686; Nav)
Description of problem:
I have a MO drive, and the MO was not installed.
The normal device for the MO is /dev/sdd (4th scsi).
All prior installations ignored this "non -existant" drive.
During installation, after package selection, I get the popup error
Error: /tmp/sdd No Medium Found
and on console 1, I see teh error message:
Error opening /tmp/sdd: No medium found
Note that I did not specify any partition on /dev/sdd
for installation. It should not have been concerning itself whether it
could open the device or not. Since the device is a removeable drive, it
especially should not care...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure a scsi chain w/ a removeable device. (possibly a scsi zip
drive would give this error as well)
2. do installation.
3. Error shows up shortly after package selection, and before 1st package
Actual Results: unnecessary error message box. I clicked cancel, and
installation progressed. (note that clicking <cancel> is not obvious in as
much as you really do not want to cancel the installation. Perhaps the
button should hev been [ignore] - be that as it may, the error message
really should not be displayed, esp when the device is a removeable.
Expected Results: no message box.
did not used to happen in any prior beta, or any prior RH installer.
Please run this on Alt+F2:
PYTHONPATH=/usr/lib/anaconda python -c "import isys; isys.driveIsRemovable('sdd')"
at which point of the installation is the above python string runnable.
(hopefully before installation starts ? I'm not desireing to reinstall, just at
the moment, but I can if need be...)
as soon as you get to anaconda in either text or gui mode, you don't need to
Oh, and run this instead:
PYTHONPATH=/usr/lib/anaconda python -c "import isys; print
(note the addition of 'print')
Attribute Error: driveIsRemoveable
(you have an extra 'e')
We (Red Hat) should really try to fix this before next release.
The python print statements prints the following:
bug found; fixed in cvs.