pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40707: ntpdate starts later then ntp



>Number:         40707
>Category:       pkg
>Synopsis:       ntpdate starts later then ntp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 21 11:45:00 +0000 2009
>Originator:     Ondrej Tuma
>Release:        current
>Organization:
Blackmouse
>Environment:
Linux domU0 2.6.18.8-xenU #1 SMP Sun Aug 24 14:00:52 CEST 2008 i686 prescott 
i386 GNU/Linux
>Description:
I use both of ntp rc scripts in cooperate with rcorder. The idea is then 
ntpdate checks time and do big seting up, and ntpd keeps time right.

But ntpd starts before ntpdate.
>How-To-Repeat:
rcorder $RCD_SCRIPTS_DIR/*
>Fix:
So here is the patch to ntpdate starts before ntpd :)

--- /usr/pkg/share/examples/rc.d/ntpdate        2009-02-16 12:48:58.000000000 
+0100
+++ ntpdate     2009-02-21 11:48:02.000000000 +0100
@@ -5,6 +5,7 @@
 
 # PROVIDE: ntpdate
 # REQUIRE: NETWORKING syslogd
+# BEFORE: ntpd
 
 . /etc/rc.subr
 



Home | Main Index | Thread Index | Old Index