Module Name: src Committed By: perry Date: Mon Aug 3 17:45:48 UTC 2009
Modified Files: src/etc/rc.d: named ntpdate Log Message: ntpdate can't work without named because a modern ntp.conf has dns names in it. We therefore now depend on it. However, this would have then created a circular dependency because named depended on "SERVERS", and racoon was before SERVERS and required kdc, and kdc needs the time to be right and thus depended on ntp. Instead, have named depend on NETWORKING (so that there is a network there), mountcritremote (so we know that named has a directory to work from) and syslogd (so that named has some place to spew information). I'm not sure this is perfect, but it is certainly a big improvement over constantly failing ntpdate runs during boot. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/etc/rc.d/named cvs rdiff -u -r1.18 -r1.19 src/etc/rc.d/ntpdate Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/named diff -u src/etc/rc.d/named:1.21 src/etc/rc.d/named:1.22 --- src/etc/rc.d/named:1.21 Sat Apr 25 15:46:19 2009 +++ src/etc/rc.d/named Mon Aug 3 17:45:48 2009 @@ -1,10 +1,10 @@ #!/bin/sh # -# $NetBSD: named,v 1.21 2009/04/25 15:46:19 christos Exp $ +# $NetBSD: named,v 1.22 2009/08/03 17:45:48 perry Exp $ # # PROVIDE: named -# REQUIRE: SERVERS +# REQUIRE: NETWORKING mountcritremote syslogd # BEFORE: DAEMON # KEYWORD: chrootdir Index: src/etc/rc.d/ntpdate diff -u src/etc/rc.d/ntpdate:1.18 src/etc/rc.d/ntpdate:1.19 --- src/etc/rc.d/ntpdate:1.18 Tue Mar 15 12:06:12 2005 +++ src/etc/rc.d/ntpdate Mon Aug 3 17:45:48 2009 @@ -1,10 +1,10 @@ #!/bin/sh # -# $NetBSD: ntpdate,v 1.18 2005/03/15 12:06:12 lukem Exp $ +# $NetBSD: ntpdate,v 1.19 2009/08/03 17:45:48 perry Exp $ # # PROVIDE: ntpdate -# REQUIRE: NETWORKING mountcritremote syslogd +# REQUIRE: NETWORKING mountcritremote syslogd named $_rc_subr_loaded . /etc/rc.subr