From owner-freebsd-current Fri Apr 12 07:11:28 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA05916 for current-outgoing; Fri, 12 Apr 1996 07:11:28 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA05868 Fri, 12 Apr 1996 07:11:05 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id JAA17433; Fri, 12 Apr 1996 09:09:55 -0500 From: Joe Greco Message-Id: <199604121409.JAA17433@brasil.moneng.mei.com> Subject: Re: feedback sought on proposed change to netstart To: rgrimes@GndRsh.aac.dev.com (Rodney W. Grimes) Date: Fri, 12 Apr 1996 09:09:55 -0500 (CDT) Cc: pst@freefall.freebsd.org, current@freefall.freebsd.org In-Reply-To: <199604120604.XAA17874@GndRsh.aac.dev.com> from "Rodney W. Grimes" at Apr 11, 96 11:04:38 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Currently /etc/netstart evaluates /etc/start_if. if the file exists, > > and THEN does any standard ifconfig commands if defined. > > > > This seems very backwards and broken to me. Here's my justification: > > Basic stuff can be done by executing the commands in sysconfig, just like > > we always do. /etc/start_if. is for additional stuff or exceptions, > > such as configuring aliases. > > > > It makes sense to set up the interface, first, and then get fancy with it. > > You can't ifconfig some interfaces until they are setup, you don't want > to ifconfig a slip line until sl0 is setup, same goes for ppp. > > start_if. was not meant to add aliases, it was added to ``start'' > the interface so you could configure it. > > Perhaps we need to add a /etc/setup_if. to handle aliases, etc. > > > Here's the change, 24 hours to comment: > > Don't.... you'll break all the folks who are using start_if. for > what it was meant to do. Rod, See my previous mail. What if we _remove_ the ifconfig in netstart in the case where there is a start_if. file? Theory being, that script is entirely responsible for starting the interface. In my book that may include establishing a physical link, and/or setting up whatever addresses and aliases are appropriate. This seems like a very generalized solution to me (at least, it's what I do here, and it works great for me). ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968