Bug 75755

Summary: Anaconda Crashed with Python errors with using KS on Floppy
Product: [Retired] Red Hat Linux Reporter: Raymond Val <rgval>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-11 23:41:37 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:
Attachments:
Description Flags
Dump file from anaconda none

Description Raymond Val 2002-10-11 21:03:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.0.3705)

Description of problem:
I have a floppy that I have built a custom ks.cfg. When Ananconda start to do 
the build it crashes and performs a dump. I am able to install it find it I 
choose the same options via the interactive install. It usually crashes after 
it tries to do the hardware probe. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install ks.cfg on floppy
2. issue a linux ks=floppy at the boot prompt
3. it would read the information from the floppy and try to act on it.
	

Actual Results:  Every time it would crash and present an anaconda error

Expected Results:  It should have continued the installation and rebooted

Additional info:

Here is the KS.cfg file I am using:

# Kickstart file automatically generated by anaconda.
autostep
install
lang en_US
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse generic3ps/2 --device psaux
text
skipx
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$vC5C=CofC9k$E5EzZKv9/iB/VqgOa6pic0
firewall --high --dhcp --port http:tcp --port ssh:tcp
authconfig --enableshadow --enablemd5
timezone America/New_York
bootloader --location=mbr
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part / --fstype ext3 --size=700 --grow --ondisk=sda
part swap --size=128 --grow --maxsize=256 --ondisk=sda

%packages
-ash
-lrzsz
-isdn4k-utils
-lilo
-raidtools
-wvdial
-ed
-setserial
-minicom
vim-enhanced
nmap
-wireless-tools
-yp-tools
-ypbind
-rsh
-rsync
-rdate
-rdist
-tcpdump
-talk
-rp-pppoe
-net-snmp
-net-snmp-utils
-irda-utils
-gnome-libs
-htmview
-redhat-menus
-redhat-logos
-kernel-pcmcia-cs
-imlib
-gtk+
-esound
-audiofile
-libungif
-XFree86-libs
-XFree86-Mesa-libGL
-hotplug
-usbutils
-aspell
-pspell
-ppp
-nfs-utils
-portmap
-dump
-rmt
-autofs
-ORBit
-at

%post
/sbin/chkconfig kudzu off
/sbin/chkconfig sendmail off
/sbin/chkconfig netfs off
/sbin/chkconfig apmd off

Comment 1 Raymond Val 2002-10-11 21:11:12 UTC
Created attachment 80064 [details]
Dump file from anaconda

Comment 2 Raymond Val 2002-10-11 23:41:29 UTC
I am getting the error after Anaconda has flashed "reading packages" on the 
screen.

Here is the error:

           Exception Occured
An unhandled exception has occured. This is most likely a bug.  Please copy 
the full text of this exception or save the crash dump to a floppy then file a 
detailed bug report against anaconda at http://bugzilla.redhat.com/bugzilla/

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 694, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/bin/anaconda/text.py", line
402, in run
    (step, args) = dispatch.currentStep()





Comment 3 Raymond Val 2002-10-11 23:57:02 UTC
Okay, sorry, ID10T error. I had misspelled a name in the list of install 
files. I spelled htmview instead of htmlview. Anaconda did not know what to do 
with the file so it croaked. I looked at the dump file a little better and 
found it. It seems to work now.  

I would suggest that an addition is made to anaconda such that if a misspelled 
package is put in the ks.cfg file that a note like "File not found" or "No 
such package" is displayed instead of crashing.