Bug 393674

Summary: ntp: /etc/init.d/ntp start hangs if network is not available
Product: [openSUSE] openSUSE 11.0 Reporter: Tejun Heo <teheo>
Component: BootloaderAssignee: Peter Varkoly <varkoly>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ntp-start.log

Description Tejun Heo 2008-05-22 16:51:28 UTC
SL110 ntp boot script now unconditionally calls ntptimeset before start.  If the network is not up yet, this hangs the booting for quite some time.  Another problem is that this happens before the ntp script prints that ntp is starting so it's pretty difficult to tell what's going on.
Comment 1 Tejun Heo 2008-05-22 16:52:27 UTC
Created attachment 217584 [details]
ntp-start.log

set -x log of "/etc/init.d/ntp start".  The script hangs at the last line.
Comment 2 Peter Varkoly 2008-05-26 19:46:12 UTC
The problem is not the ntpd server startup script but the ifdow-Script of ntp:
/etc/sysconfig/network/scripts/50-ntp

This problem is fixed in #388980

I'll analize the problem with using ntptimeset instead of ntpdate to set the initial date. 

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