conf/103428: devd(8): devd brings up network interfaces early
sra at hactrn.net
Thu Sep 21 07:10:24 PDT 2006
The following reply was made to PR conf/103428; it has been noted by GNATS.
From: Rob Austein <sra at hactrn.net>
To: Brooks Davis <brooks at one-eyed-alien.net>
Cc: Rob Austein <sra at hactrn.net>,
freebsd-gnats-submit at freebsd.org
Subject: Re: conf/103428: devd(8): devd brings up network interfaces early and wrong
Date: Thu, 21 Sep 2006 10:07:33 -0400
At Wed, 20 Sep 2006 20:40:13 -0500, Brooks Davis wrote:
> I'll commit this change with the fix.
After thinking about this overnight:
a) The proposed fix is fine and will do until somebody has time to
redesign this twisty maze.
b) I still think that having devd attempt to bring up IPv6 before
network_ipv6 does, while not a bug per se, is at the very least a
violation of the Principal of Least Astonishment. At the moment I
don't see anything in network_ipv6 that absolutely must run before
bringing up IPv6 on specific interfaces, but that might not be the
case forever, and this activation path via devd is only obvious in
retrospect. So I'd recommend making sure that network_ipv6 runs
before devd, by adding network_ipv6 to devd's REQUIRE: list.
Thanks for all your help, whether you agree on (b) or not.
More information about the freebsd-bugs