1 Aug 2007 05:52
please test, netstart diff
David Krause <openbsd <at> davidkrause.com>
2007-08-01 03:52:44 GMT
2007-08-01 03:52:44 GMT
This diff fixes the problem of daemons that fail to start at boot time due to being unable to bind to all interfaces. If you have to start isakmpd with -4 to have it run at bootup this should fix it. The problem is that certain interfaces, vlan and gif, have tentative IPv6 addresses also, but are started after the delay for IPv6 DAD. So this diff moves the DAD delay to the end of the file to make sure all interfaces are ready before continuing. Please test this with whatever weird setups you have, especially with lots of interfaces and in IPv6 setups. David Index: etc/netstart =================================================================== RCS file: /cvs/src/etc/netstart,v retrieving revision 1.115 diff -u -p -r1.115 netstart --- etc/netstart 15 Nov 2006 06:28:33 -0000 1.115 +++ etc/netstart 1 Jul 2007 16:28:05 -0000 <at> <at> -301,10 +301,6 <at> <at> if [ "$ip6kernel" = "YES" -a "x$rtsolif" echo "WARNING: inconsistent config - check /etc/sysctl.conf for IPv6 autoconf" fi fi -if [ "$ip6kernel" = "YES" ]; then - # this is to make sure DAD is completed before going further. - sleep `sysctl -n net.inet6.ip6.dad_count` -fi # The trunk interfaces need to come up first in this list.(Continue reading)
RSS Feed