Subject: misc/30716: rcorder of rc.d/rtsold wrong
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 07/10/2005 22:48:00
>Number:         30716
>Category:       misc
>Synopsis:       rc.d/ntpd{,ate} precedes rc.d/rtsold
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 10 22:48:00 +0000 2005
>Originator:     Ed Hynan
>Release:        NetBSD 2.0.2
System: NetBSD stella 2.0.2 NetBSD 2.0.2 (STELLA) #0: Mon Jun 6 21:36:05 EDT 2005 evh@stella:/usr/src/sys/arch/i386/compile/STELLA i386
Architecture: i386
Machine: i386
	With rtsold=YES, several network using daemons are started before
	rtsold.  These might immediately try to use their ipv6 sockets before
	rtsold has run and configured interface(s).  A particular example is
	ntpd, which prefers ipv6 if available and immediately queries its
	configured servers.  The result is ``no route ...'' errors from sendto().
	Of course this is a problem with ntpdate too, and probably others.
	On IPv6 autoconfigured host setup ntpd with servers that have IPv6
	addresses.  Reboot and see ntpd print errors.
	Consider changing the `REQUIRE' and `BEFORE' keys in rc.d/rtsold to
	those used in rc.d/dhclient, which is started at a useful place in the