Re: CVS commit: src (gpio)

2009-08-04 Thread Geoff Wing
On Saturday 2009-07-25 16:20 +, Marc Balmer output:
:Module Name:   src
:Committed By:  mbalmer
:Date:  Sat Jul 25 16:20:11 UTC 2009
[...]
:Added Files:
:   src/etc: gpio.conf
:   src/etc/rc.d: gpio
:   src/share/man/man5: gpio.conf.5

Add postinstall(8) stuff, please.

Regards,
Geoff

Index: usr.sbin/postinstall/postinstall
===
RCS file: /cvsroot/src/usr.sbin/postinstall/postinstall,v
retrieving revision 1.100
diff -u -r1.100 postinstall
--- usr.sbin/postinstall/postinstall20 Jul 2009 21:03:42 -  1.100
+++ usr.sbin/postinstall/postinstall4 Aug 2009 07:08:19 -
@@ -997,6 +997,7 @@
ccd cgd cleartmp cron \
dhclient dhcpcd dhcpd dhcrelay dmesg downinterfaces envsys \
fsck fsck_root ftp_proxy ftpd \
+   gpio \
hostapd httpd \
identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
irdaattach iscsi_target isdnd \


Re: CVS commit: src/etc/rc.d

2009-08-04 Thread Jason Thorpe


On Aug 3, 2009, at 10:45 AM, Perry E. Metzger wrote:


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.


Definitely not perfect .. named might also depend on ntp (by way of  
kdc) if GSS-TSIG is enabled.


Explicit dependencies are the pits.  Launch on demand is the way to go.

-- thorpej