From owner-svn-src-head@FreeBSD.ORG Wed Jun 3 14:09:08 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 604341065673; Wed, 3 Jun 2009 14:09:08 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id C2E678FC14; Wed, 3 Jun 2009 14:09:07 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n53E9J36029377; Wed, 3 Jun 2009 09:09:19 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n53E9Ix8029375; Wed, 3 Jun 2009 09:09:18 -0500 (CDT) (envelope-from brooks) Date: Wed, 3 Jun 2009 09:09:18 -0500 From: Brooks Davis To: John Baldwin Message-ID: <20090603140918.GB28486@lor.one-eyed-alien.net> References: <200906010537.n515bDou065357@svn.freebsd.org> <200906021511.03955.jhb@freebsd.org> <86iqjdek9t.fsf@ds4.des.no> <200906030757.37937.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <200906030757.37937.jhb@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Wed, 03 Jun 2009 09:09:19 -0500 (CDT) Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, Doug Barton , Bruce Simpson , svn-src-head@freebsd.org, Dag-Erling Sm??rgrav Subject: Re: svn commit: r193199 - head/etc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 14:09:08 -0000 --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 03, 2009 at 07:57:37AM -0400, John Baldwin wrote: > On Wednesday 03 June 2009 5:31:10 am Dag-Erling Sm??rgrav wrote: > > John Baldwin writes: > > > [...] Given that, there really isn't a good reason to customize > > > network_interfaces anymore. > >=20 > > Listing e.g. bge0 in network_interfaces will (indirectly) cause if_bge > > to be loaded if it wasn't already. If network_interfaces is left blank, > > only interfaces that already have a driver attached to them will be > > configured. Ugh, I thought I'd killed that off. I'm solidly in the camp of people who think the autoloading is a mistake. If you're going to hardcode a list of module you want to load, /boot/loader.conf is the place, not this indirect hack that bites people on the ass because it works for real interfaces, but not all sorts of other types due to the impossibilty of generalizing support. For extra fun, making a typo on your ifconfig command line can lead to loading a random module. > That is a good argument. Someone noted it on -stable as well as somethin= g=20 > they use. Also, I wonder if ipv6_network_interfaces should actually defa= ult=20 > to whatever the value of 'network_interfaces' is so that if someone does = use=20 > a customized 'network_interfaces' line it affects IPv6 configuration as w= ell. =20 > (Maybe have it default to an empty value and have an empty value get repl= aced=20 > with 'network_interfaces'?). That's probably a good solution for ipv6_network_interfaces. -- Brooks --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFKJoQNXY6L6fI4GtQRAqyXAKCbigMpc2h0+fr6GMGxInCOta2+oACeOZhl xEAXHqKhqTD8IHMz/T5gF1E= =9A9Z -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--