From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Description of problem: Certain configuration settings in a kickstart .cfg file cause the configurator to break when loading the config file into the configurator for further editing. Version-Release number of selected component (if applicable): kickstart-2.3.22-3 How reproducible: Always Steps to Reproduce: 1. Run /usr/sbin/redhat-config-kickstart from a terminal 2. Fill in the root password fields and select "Probe for mouse" from the Mouse selection 3. Save the configuration as test.cfg 4. Open the saved configuration file This also occurs if you select "Enable firewall" from the Firewall Configuration menu and checkmark "SSH" from the list of trusted services. These settings in the GUI result in the following, apparently unhandled, lines in the .cfg file: # System mouse mouse # Firewall configuration firewall --enabled --ssh Actual Results: Resulting error message in the terminal from the mouse setting: Traceback (most recent call last): File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 272, in on_activate_open self.fillData() File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 303, in fillData self.basic_class.fillData() File "/usr/share/redhat-config-kickstart/basic.py", line 312, in fillData mouseTag = mouseLine[0] IndexError: list index out of range In addition to the error message, the Ok and Cancel buttons in the file requestor window stop responding appropriately and it must be forced closed. Additional info:
This is a limitation of the kickstart parser in r-c-kickstart in that it does not understand any options except the ones that it has boxes for in the GUI. Of course, it doesn't have a UI element for everything that anaconda understands so lots of options are not supported. The correct fix is to redo the kickstart parser so that anaconda and r-c-kickstart share code, not duplicate parsers but poorly.
We are not going to be able to fix this in a RHEL3 update due to the amount of work involved. The correct fix I described above has been made in Rawhide which will show up in FC5 and then later in RHEL5. Unfortunately, RHEL3 r-c-kickstart is simply not capable of understanding all the options that anaconda recognizes.