From owner-freebsd-stable@FreeBSD.ORG Mon Feb 12 14:42:52 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA89D16A41F; Mon, 12 Feb 2007 14:42:52 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD8613C428; Mon, 12 Feb 2007 14:42:52 +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.13.8/8.13.8) with ESMTP id l1CEgphU050395; Mon, 12 Feb 2007 08:42:51 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l1CEgoGl050394; Mon, 12 Feb 2007 08:42:50 -0600 (CST) (envelope-from brooks) Date: Mon, 12 Feb 2007 08:42:49 -0600 From: Brooks Davis To: freebsd-stable@freebsd.org, kevin@insidesystems.net, brooks@freebsd.org, joao@matik.com.br Message-ID: <20070212144249.GA50299@lor.one-eyed-alien.net> References: <200702092300.35420.joao@matik.com.br> <200702121426.l1CEQIF4031564@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <200702121426.l1CEQIF4031564@lurza.secnetix.de> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 12 Feb 2007 08:42:51 -0600 (CST) Cc: Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 14:42:52 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2007 at 03:26:18PM +0100, Oliver Fromme wrote: > JoaoBR wrote: > > Brooks Davis wrote: > > > Jeremy Chadwick wrote: > > > > Kevin Way wrote: > > > > > I recently ran into a bug in the jail startup scripts that cause= d this > > > > > command to be executed: > > > > >=20 > > > > > ifconfig bce0 -alias > > > > >=20 > > > > > It turns out that this command eliminated the primary IP for the > > > > > device. > > > > >=20 > > .... > > >=20 > > > It's way to late to make this change. This is known behavior and has > > > been for ages. If there's a bug it's in the documentation. > >=20 > > wellwell, we also were apes for ages but does not mean that we stay be= having > > like them and if some still does so it is also never to late to change > > that ;) >=20 > Changing the behaviour of tools always involves a certain > danegr of breaking existing script. That's especially true > for symstem administration commands such as ifconfig that > are running in automated scripts, and people depend on them > for booting their machines remotely. >=20 > I'm not saying that people are intentionally using that > syntax ... Maybe they are, maybe not. But you also should > take into accounts that there might be scripts that use the > syntax inadvertantly and happen to work correctly because > of the current behaviour. >=20 > I'm also _not_ saying that the behaviour must not be changed > at all. But it should be done carefully, i.e. first to > -current, with proper "heads up" warnings. Don't change > it in RELENG_6 without warning and expect evrybody to be > happy. This is the point I attempted to make and failed at earlier. The general policy would be that we could change it to fail in current, but doing more than emitting a warning in STABLE would be risky. -- Brooks --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF0HzpXY6L6fI4GtQRAvlcAKDe+WhHxTsw9vmwKVUBLIwk13NcnwCg5cKX IVjTDFAzYohBqruIqDKSISc= =FkJz -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--