From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 21 14:10:24 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2915616A415 for ; Thu, 21 Sep 2006 14:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1CE243D49 for ; Thu, 21 Sep 2006 14:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8LEANbX076033 for ; Thu, 21 Sep 2006 14:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8LEANM8076032; Thu, 21 Sep 2006 14:10:23 GMT (envelope-from gnats) Date: Thu, 21 Sep 2006 14:10:23 GMT Message-Id: <200609211410.k8LEANM8076032@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Rob Austein Cc: Subject: Re: conf/103428: devd(8): devd brings up network interfaces early and wrong X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Austein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 14:10:24 -0000 The following reply was made to PR conf/103428; it has been noted by GNATS. From: Rob Austein To: Brooks Davis Cc: Rob Austein , freebsd-gnats-submit@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. Thanks, Brooks. 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. --Rob