Bugzilla – Bug 393015
NTP takes very long to start (seems to hang)
Last modified: 2008-05-21 12:09:58 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.
Created attachment 217174 [details] Directory listing of rc3.d
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?
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.
Fixed for me with latest factory. *** This bug has been marked as a duplicate of bug 388980 ***