Bug 441040 - Error when trying to enable ntp if I check "Synchronize system clock"
Summary: Error when trying to enable ntp if I check "Synchronize system clock"
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-date   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
Reported: 2008-04-05 12:22 UTC by Mary Ellen Foster
Modified: 2008-07-09 02:42 UTC (History)
1 user (show)

Fixed In Version: 1.9.32-1.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-09 02:42:48 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Mary Ellen Foster 2008-04-05 12:22:55 UTC
Description of problem:
If I go to the NTP tab, enable NTP, check "Synchronize system clock before
starting service" (under Advanced), and click OK, then I get the following
traceback on the console and the window doesn't close.

Traceback (most recent call last):
  File "/usr/share/system-config-date/scdMainWindow.py", line 86, in ok_clicked
    self.apply ()
  File "/usr/share/system-config-date/scdMainWindow.py", line 118, in apply
    if self.dateBackend.writeNtpConfig (ntpServers, ntpServerChoices,
ntpBroadcastClient, ntpLocalTimeSource, ntpStepTime) == None:
  File "/usr/share/system-config-date/dateBackend.py", line 162, in writeNtpConfig
    fd.write (server.ipaddrs[0] + "\n")
AttributeError: 'str' object has no attribute 'ipaddrs'

If I un-check "Synchronize ...", then it closes properly.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Nils Philippsen 2008-04-07 12:33:23 UTC
Should be fixed in system-config-date-1.9.29 which is building right now.

Comment 2 John Poelstra 2008-04-07 16:58:33 UTC
will this include being prompted to set the time/date and enable ntp in firstboot?

Comment 3 Nils Philippsen 2008-04-07 17:05:37 UTC
Well, I've fixed the traceback, if there's anything else, tell me ;-).

Comment 4 John Poelstra 2008-04-07 19:36:00 UTC
i'll look for it in rawhide tomorrow.  thanks

Comment 5 Jon Stanley 2008-04-14 14:51:47 UTC
this no longer occurs.  Also, s-c-date is in firstboot even! :)

Comment 6 Fedora Update System 2008-07-01 09:53:32 UTC
system-config-date-1.9.32-1.fc8 has been submitted as an update for Fedora 8

Comment 7 Fedora Update System 2008-07-09 02:42:25 UTC
system-config-date-1.9.32-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

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