Bug 70553 - tb on missing /etc/ntpd.conf
Summary: tb on missing /etc/ntpd.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-config-date
Version: limbo
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-08-02 14:05 UTC by Harald Hoyer
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-06 05:54:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2002-08-02 14:05:54 UTC
[harald@faro rpm]$ sudo rm -f /etc/ntp.conf
Password:
[harald@faro rpm]$ redhat-config-time
Traceback (most recent call last):
  File "/usr/share/redhat-config-date/redhat-config-date.py", line 35, in ?
    mainWindow.mainWindow().stand_alone()
  File "/usr/share/redhat-config-date/mainWindow.py", line 132, in __init__
    self.datePage = date_gui.datePage(self.dateBackend)
  File "/usr/share/redhat-config-date/date_gui.py", line 150, in __init__
    ntpStatus = mainWindow.dateBackend.isNtpRunning()
  File "/usr/share/redhat-config-date/dateBackend.py", line 122, in isNtpRunning
    line = output[0]
IndexError: list index out of range

Comment 1 Brent Fox 2002-08-06 05:54:27 UTC
Should be fixed in redhat-config-date-1.5-2.

I now copy a template ntp.conf file to
/usr/share/redhat-config-date/ntp.template on installation.  If /etc/ntp.conf
has been removed for some reason, I use this template as the basis for the new
file, and just replace the server line with the server specified in the GUI.  

QA, please verify the fix.

Comment 2 Jay Turner 2002-08-06 12:17:07 UTC
Fix confirmed with redhat-config-date-1.5-2.


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