Bug 83972 - redhat-config-time crashes on upgrade system
Summary: redhat-config-time crashes on upgrade system
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-config-date
Version: phoebe
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-10 16:39 UTC by Harris Landgarten
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-02-10 20:17:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Harris Landgarten 2003-02-10 16:39:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030120

Description of problem:
This is an update of a RH 8 installation. Redhat-config-time worked properly
under rh8.0 and was set for GMT and NTP from time.nist.gov

When the redhat-config-time or redhat-config-date command are run on this
machine after the upgrade to phoebe the command crashes with the following backtrace

[harrisl@d8100 etc]$ sudo redhat-config-time
Traceback (most recent call last):
  File "/usr/share/redhat-config-date/redhat-config-date.py", line 48, in ?
    mainWindow.mainWindow().stand_alone()
  File "/usr/share/redhat-config-date/mainWindow.py", line 180, in __init__
    self.datePage = date_gui.datePage(self.dateBackend)
  File "/usr/share/redhat-config-date/date_gui.py", line 173, in __init__
    ntpServer = socket.gethostbyaddr(ntpServerIP)[0]
socket.herror: (1, 'Unknown host')

Note: ntpd is running properly  as setup under rh8



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. sudo redhat-config-time
2.
3.
    

Actual Results:  [harrisl@d8100 etc]$ sudo redhat-config-time
Traceback (most recent call last):
  File "/usr/share/redhat-config-date/redhat-config-date.py", line 48, in ?
    mainWindow.mainWindow().stand_alone()
  File "/usr/share/redhat-config-date/mainWindow.py", line 180, in __init__
    self.datePage = date_gui.datePage(self.dateBackend)
  File "/usr/share/redhat-config-date/date_gui.py", line 173, in __init__
    ntpServer = socket.gethostbyaddr(ntpServerIP)[0]
socket.herror: (1, 'Unknown host')

Expected Results:  usual time window

Additional info:

Comment 1 Brent Fox 2003-02-10 17:48:39 UTC

*** This bug has been marked as a duplicate of 82061 ***

Comment 2 Harris Landgarten 2003-02-10 19:42:47 UTC
I am getting this bug with redhat-config-date-1.5.7-6 which I believe was the 
proposed fix.

Comment 3 Brent Fox 2003-02-10 19:45:49 UTC
Can you try upgrading to 1.5.9-4 out of Rawhide?

Comment 4 Harris Landgarten 2003-02-10 20:10:04 UTC
redhat-config-date-1.5.9-4 from rawhide resolved the problem

Comment 5 Brent Fox 2003-02-10 20:17:11 UTC
Ok, good.  I later realized that you were actually having a slightly different
bug than bug #82061, but I knew that I had fixed something like yours in the
past few weeks.  I'm glad to know things are working now.  Closing as 'rawhide'.


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