Bug 393674 - ntp: /etc/init.d/ntp start hangs if network is not available
Summary: ntp: /etc/init.d/ntp start hangs if network is not available
Status: RESOLVED DUPLICATE of bug 388980
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Beta 3plus
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 16:51 UTC by Tejun Heo
Modified: 2008-05-26 19:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ntp-start.log (5.83 KB, text/x-log)
2008-05-22 16:52 UTC, Tejun Heo
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***