Subject: Re: rc.conf vs interface aliases
To: <>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-net
Date: 01/19/2006 07:05:49
--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 18, 2006 at 05:01:03PM -0500, der Mouse wrote:
> >> I'm currently leaning towards a local script in rc.d, with
> >> REQUIRE:root and BEFORE:network, which rewrites /etc/ifconfig.* and
> >> /etc/pf.conf based on /etc/ifnames (or whatever).  But that seems
> >> pretty gross,
> > Why?
>=20
> It's rewriting config files on every boot.
>=20
> > The good thing about rc.d is that you can do that cleanly.
>=20
> Sure, the rc.d side of it is relatively clean, as such things go.  It's
> the other side of it - rewriting /etc/ifconfig.* and /etc/pf.conf (and
> possibly others, though I know of no others yet) - that I find gross.

Hm, yes... on the other hand, it _is_ a configuration change... other=20
people use a monster like cfengine to make those co-ordinated. Just=20
view it as a mini cfengine ;-)

Regards,
	-is
--=20
seal your e-mail: http://www.gnupg.org/

--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDzyw9N4tiz3B8hB0RAubQAJ9V1YpLTfXmEIfgZVNEw2JafkV43wCfW6X3
48c0r3AOtGsW3kzjjlQFPrc=
=iZjK
-----END PGP SIGNATURE-----

--J/dobhs11T7y2rNN--