Bugzilla – Bug 425675
boot slow, apparently blocking on ntp
Last modified: 2008-09-16 13:39:17 UTC
Booting takes a long time while starting ntp. If I ssh in, I see the following: mw@engraver:~ % ps auxww | grep ntp [17:12] root 2356 0.0 0.0 2772 1376 ? S 17:11 0:00 /bin/sh /etc/init.d/ntp start root 2386 0.0 0.0 2772 1372 ? S 17:11 0:00 /bin/sh /etc/init.d/ntp ntptimeset ntp 2400 0.0 0.0 5104 1528 ? S 17:11 0:00 /usr/sbin/ntpd -g -u ntp:ntp -c /etc/ntp.conf -q If I strace ntpd, I get: select(21, [16 17 18 19 20], NULL, NULL, NULL) = ? ERESTARTNOHAND (To be restarted) --- SIGALRM (Alarm clock) @ 0 (0) --- sigreturn() repeatedly. (The others block uninterestingly in waitpid.) If I kill ntp and ntpd, booting continues and finishes quickly.
(In reply to comment #0 from Michael Wolf) > Booting takes a long time while starting ntp. I'm timing it with a stopwatch, and it's taken over 6 minutes so far.
mw@engraver:~ % rpm -q --changelog ntp | head [17:17] * Mon Sep 08 2008 varkoly@suse.de - (bnc#423463) - 2 bugs found in ntpd init script * Tue Jun 17 2008 varkoly@suse.de - (bnc#398437) - ntp client has missing dependency to package timezone - (bnc#397422) - ntp rpm throws an error when installing * Tue May 27 2008 varkoly@suse.de - (bnc#393305) – /etc/ntp.conf gets overwritten during an update mw@engraver:~ % rpm -q ntp ntp-4.2.4p4-78
When I kill it, I see: /etc/init.d/ntp: line 149: 2400 killed [spaces] $NTPD_BIN $NTPD_OPTIONS -c $NTP_CONF -q
Paket 4.2.4p5-4 do contains the fix *** This bug has been marked as a duplicate of bug 407804 ***