Red Hat Bugzilla – Bug 286681
system-config-kickstart hangs on opening a kickstart file that contains timezone US/Mountain
Last modified: 2015-05-04 21:33:23 EDT
Description of problem:
When using system-config-kickstart to open a kickstart file that contains
certain timezones, it will hang.
When I attempt to open such a file, I see:
Traceback (most recent call last):
File "/usr/share/system-config-kickstart/kickstartGui.py", line 285, in
File "/usr/share/system-config-kickstart/kickstartGui.py", line 311, in
File "/usr/share/system-config-kickstart/basic.py", line 228, in applyKsdata
ValueError: list.index(x): x not in list
So, it appears that the timezone that I chose was not included in the list that
system-config-kickstart is aware of. If I change the timezone to
America/Denver, it works fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use timezone of US/Mountain (or other such timezones) in a kickstart file
2. Use system-config-kickstart to open it.
The app hangs and the open dialog box will not close.
It should allow timezones such as US/Mountain.
An update to the tzdata package would fix it. Adding US/Mountain to
/usr/share/zoneinfo/zone.tab solves the problem.
Created attachment 192871 [details]
Patch to add US/Mountain as a valid timezone
The zone of name US/Mountain is available only as backwards-compatible link and
shouldn't be used in modern setups. America/Denver should be used instead.