Bug 430910

Summary: timezone exception thrown before any welcome screens
Product: Red Hat Enterprise Linux 5 Reporter: Rich Johnson <richard.johnson>
Component: system-config-dateAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: dkovalsk, jscotka, riek, robert.evans, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-11 14:29:08 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
proposed patch none

Description Rich Johnson 2008-01-30 15:14:00 UTC
Description of problem:
  After IPL, an firstboot reported:

    "An error has occured in the timezone module..." 
  
  before presenting the any  of the welcome screens.

Kickstart configured the timezone with:
     timezone --utc America/New_York

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 496, in loadModules
    result = module.launch()
  File "/usr/share/firstboot/modules/timezone.py", line 74, in launch
    self.setupScreen()
  File "/usr/share/firstboot/modules/timezone.py", line 52, in setupScreen
    self.timezoneWindow = scdMainWindow.scdMainWindow (firstboot = True,
showPages = ["timezone"])
  File "/usr/share/system-config-date/scdMainWindow.py", line 254, in __init__
    self.datePage = date_gui.datePage (self.dateBackend, self.xml)
  File "/usr/share/system-config-date/date_gui.py", line 57, in __init__
    self.cal.select_month(times[1]-1, times[0])
AttributeError: 'NoneType' object has no attribute 'select_month'

Comment 1 Robert N. Evans 2008-01-30 23:07:36 UTC
We have only seen this error on a system with dual quad cores (8 logical CPUs,
x86_64, 4GB of memory).  It might be a race condition that is not encountered
with less CPUs.

Comment 2 Nils Philippsen 2008-01-31 09:22:45 UTC
Created attachment 293559 [details]
proposed patch

Backported fix from the system-config-date Hg repository.

Comment 3 RHEL Program Management 2008-01-31 09:26:04 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 4 Phil Knirsch 2008-04-28 15:36:07 UTC
Proposing for RHEL-5.3 and granting Devel ACK.

Read ya, Phil


Comment 5 Phil Knirsch 2008-05-06 15:45:43 UTC
Moving to FasTrack actually, fix is really simple and easy to reproduce.

Read ya, Phil

Comment 10 Jan Ščotka 2009-02-05 13:51:54 UTC
Is there any way how test it on machine with less cpus? 
seqeuence
# install system
# rm /etc/sysconfig/firstboot
# reboot
dont show any problem.

Comment 12 Jan Ščotka 2009-02-11 12:53:13 UTC
Problems with reproducing bug. Only sanity tests

Comment 14 errata-xmlrpc 2009-02-11 14:29:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0279.html