Bug 393015 - NTP takes very long to start (seems to hang)
Summary: NTP takes very long to start (seems to hang)
Status: RESOLVED DUPLICATE of bug 388980
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 3
Hardware: i686 openSUSE 11.0
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 09:48 UTC by Edwin Boersma
Modified: 2008-05-21 12:09 UTC (History)
1 user (show)

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


Attachments
/var/log/boot.msg (42.61 KB, application/octet-stream)
2008-05-21 09:48 UTC, Edwin Boersma
Details
Directory listing of rc3.d (5.20 KB, application/octet-stream)
2008-05-21 09:49 UTC, Edwin Boersma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Boersma 2008-05-21 09:48:33 UTC
Created attachment 217173 [details]
/var/log/boot.msg

Booting runlevel 5 goes without trouble, but when booting runlevel 3, it stops. Seemingly, it's just before it should show the login prompt, but I'm not really sure.

On the screen, just after successfully starting xinetd, it shows a blank line, with only "done" in green. In the logfile, this is at line 713.

I have attached the directory listing of /etc/init.d/rc3.d and the logfile /var/log/boot.msg.
Comment 1 Edwin Boersma 2008-05-21 09:49:37 UTC
Created attachment 217174 [details]
Directory listing of rc3.d
Comment 2 Edwin Boersma 2008-05-21 11:31:58 UTC
I changed the name of the bug, because I isolated the problem to be caused by the rcntp script.

"rcntp start" calls "rcntp ntptimeset". When the servers do not react, it takes between 3 and 6 minutes for the script to time-out. It seems to hang, but it doesn't (I don't know why, but I cannot find _any_ working ntp pool at the moment...)

Shouldn't it just background, instead of wait?


Comment 3 Edwin Boersma 2008-05-21 11:43:19 UTC
BTW: maybe the echo in row 139 of /usr/sbin/rcntp should be moved to row 137 (right after "start)", so it is clear that NTP daemon is starting. Now it isn't, until ntptimeset has finished.
Comment 4 Thomas Schmidt 2008-05-21 12:09:58 UTC
Fixed for me with latest factory. 

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