Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 163162 - Configurator wont load saved cfg files with certain settings
Configurator wont load saved cfg files with certain settings
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-kickstart (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
Depends On:
Blocks: 170445
  Show dependency treegraph
Reported: 2005-07-13 12:26 EDT by Dan Roberts
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-28 14:50:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dan Roberts 2005-07-13 12:26:55 EDT
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):

How reproducible:

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
# 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
  File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 303,
in 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:
Comment 1 Chris Lumens 2005-09-08 16:38:59 EDT
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
Comment 6 Chris Lumens 2005-10-28 14:50:37 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.