Bug 383366

Summary: NTP configuration from YaST (x86)
Product: [openSUSE] openSUSE 11.0 Reporter: Petya Todorova <dats>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Outsourced Testing Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs.tgz
/var/log/ntp files

Description Petya Todorova 2008-04-24 14:08:22 UTC
Open YaST and click the "Network Services" section. Choose "NTP Configuration". Click drop-down menu Select and select Public NTP Server. Select Bulgaria, click OK button. 
NTP not synchronizes my machine time with a time server.
Comment 1 Cyril Hrubis 2008-04-24 14:15:57 UTC
*** Bug 383367 has been marked as a duplicate of this bug. ***
Comment 2 Cyril Hrubis 2008-04-24 14:17:12 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 3 Cyril Hrubis 2008-04-24 14:20:28 UTC
*** Bug 383373 has been marked as a duplicate of this bug. ***
Comment 4 Martin Mrazik 2008-04-25 11:33:35 UTC
*** Bug 383371 has been marked as a duplicate of this bug. ***
Comment 5 Petya Todorova 2008-04-25 12:45:38 UTC
Created attachment 210491 [details]
y2logs.tgz
Comment 6 Martin Mrazik 2008-04-25 15:32:19 UTC
Please, don't forget to remove the NEEDINFO flag once you provide the requested information. Thanks.
Comment 8 Martin Vidner 2008-04-28 14:11:55 UTC
Please attach /var/log/ntp.
If "id ntp" says the usre ntp does not exist, try reinstalling ntp.rpm:
# rpm -e ntp
# zypper in ntp

Does that help?
Comment 9 Petya Todorova 2008-04-30 09:52:12 UTC
Created attachment 211440 [details]
/var/log/ntp files

I reinstalled NTP. Send you two files - one before and one after reinstalling
Comment 10 Petya Todorova 2008-04-30 09:55:35 UTC
*** Bug 383406 has been marked as a duplicate of this bug. ***
Comment 11 Martin Vidner 2008-04-30 12:41:21 UTC
From the log I see that it works after reinstalling.

29 Apr 17:34:21 ntpd[2399]: Cannot find user `ntp'
One problem was that the ntp user was not present:
http://en.opensuse.org/Bugs:Most_Annoying_Bugs_11.0_dev#Missing_System_Users_in_11.0_Beta1

29 Apr 17:34:21 ntpd[2399]: getaddrinfo: "bg.pool.ntp.org" invalid host address, ignored
The other I am not sure about, it looks like a temporary problem in name resolution. This page suggests how to make it more robust using the dynamic option:
http://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=33724&forum=10&post_id=149141