Red Hat Bugzilla – Bug 97731
unhandled exception if ks.cfg mentions nonexistent disk - should be handled gracefully
Last modified: 2007-04-18 12:54:55 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
Description of problem:
The ks config file contained lines like
part / --size 4000 --ondisk=sda
when it meant
part / --size 4000 --ondisk=hda
This provoked an unhandled exception in anaconda. Although
the dump gave enough info to deduce the problem (the last
), I would have thought this error could be caught and handled
Version-Release number of selected component (if applicable):
sorry don't know -- haven't installed yet. RH9 FCS version of anaconda.
Steps to Reproduce:
1.Get a machine with an IDE disk
2.Put a line such as "part / --size 4000 --ondisk=sda" in the kickstart
3.Boot into the automatic installation procedure.
Actual Results: Unhandled exception occurred, which nevertheless gave enough
info to fix the problem.
Expected Results: A nice error message saying "you have given a directive
relating to /dev/sda but there are no scsi disks on this system".
This gives a better traceback now. Making it even better is in the works for
when I completely revamp the kickstart parser.