Red Hat Bugzilla – Bug 190487
Kickstart fails to run if root password not selected as encrypted
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
When one unchecks the "Encrypt root password" box, the "Save" and "Preview" File
menu options become unresponsive.
Version-Release number of selected component (if applicable):
This only happens when the password isn't to be saved encrypted.
Steps to Reproduce:
1. Enter config, including root password.
2. Uncheck "encrypt root password".
3. Attempt to Save or Preview the config.
No pop-up with the config and/or no config saved.
On the controlling terminal, however, one sees:
Traceback (most recent call last):
File "/usr/share/system-config-kickstart/kickstartGui.py", line 293, in
if self.getAllData() != None:
File "/usr/share/system-config-kickstart/kickstartGui.py", line 237, in getAllData
if self.basic_class.formToKsdata(doInstall) is None:
File "/usr/share/system-config-kickstart/basic.py", line 202, in formToKsdata
self.ksdata.rootpw["password"] = pure
UnboundLocalError: local variable 'pure' referenced before assignment
Pop-up dialog with config or file chooser asking where to save config.
See proposed fix.
Created attachment 128518 [details]
Thanks for the patch. Will be fixed in 2.6.10-1.