|
Bugzilla – Full Text Bug Listing |
| Summary: | YAST2 NTP takes long on "restarting server" | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Nikolay Borisov <dsk> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mvidner, varkoly |
| Version: | RC 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 after the hang
here's the ntp log file |
||
2008-06-05 11:37:13
<1> linux-6ay1(26431) [YCP] Service.ycp:279 Running service initscript ntp restart
2008-06-05 11:40:27
<1> linux-6ay1(26431) [YCP] clients/ntp-client.ycp:50 NtpClient module finished
So, either a changed time, or it takes quite long to synchronize (isn't 3 minutes rather a time-out?)
Read the log this way:
`grep \(26431\) y2log | less`
Plus this:
2008-06-05 11:37:07 <1> linux-6ay1(26431)
[YCP] Service.ycp:279 Running service initscript ntp stop
'Testing reachability of server bg.pool.ntp.org' between
2008-06-05 11:37:07 <1> linux-6ay1(26431)
[YCP] Service.ycp:279 Running service initscript ntp start
2008-06-05 11:37:13 <1> linux-6ay1(26431)
[YCP] Service.ycp:279 Running service initscript ntp restart
Maybe those start + restart commands are somehow blocking each other?
Nikolay, please, attach /var/log/ntp file if possible. Created attachment 220445 [details]
here's the ntp log file
Now I repeated the same procedure - this time yast2 didn't hang but ntp wasn't able to synchronise my machine.
The ntp log file say me, that no ntp server was configured. Now I've tested RC2 and it works fine for me. Martin, ntp-client is yours, isn't it? Peter says no ntp server was configured but I saw 'server bg.pool.ntp.org' in logs... I tried 3 times with bg.pool.ntp.org, to test all 3 servers returned by the DNS, and it has always worked within 10 seconds. Please try to reproduce the problem, and while it is hanging, run as root: # pstree -aplu `pgrep -f y2base | head -n1` > tree.log # strace -ostrace.log -p `pgrep -f ntpd` #(ctrl-c if it takes too long) and attach the output. comment 5: yes, at that time no server was in ntp.conf, yast was pre-testing it by /usr/sbin/ntpdate -q I couldn't reproduce the issue. I guess it's been a one-timer. |
Created attachment 220434 [details] y2logs after the hang When I chose which time server should NTP use and clicked Finish, Yast2 hanged on "restarting server". And after 4-5 minutes the windows closed and the machine wasn't synchronised. Attached y2logs.