From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-45719-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QKWzP-0003kj-U2
	for garchives@archives.gentoo.org; Thu, 12 May 2011 14:35:44 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9DCE51C0DE;
	Thu, 12 May 2011 14:35:33 +0000 (UTC)
Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5FCEA1C088
	for <gentoo-dev@lists.gentoo.org>; Thu, 12 May 2011 14:34:17 +0000 (UTC)
Received: by gyh4 with SMTP id 4so712138gyh.40
        for <gentoo-dev@lists.gentoo.org>; Thu, 12 May 2011 07:34:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:sender:date:from:to:subject:message-id
         :mail-followup-to:references:mime-version:content-type
         :content-disposition:in-reply-to:user-agent;
        bh=4yTIcY0T6YIp/fY3umdCAzzxPPsdzXbRB0wxJUTP8y0=;
        b=VCW1gZwj1wsXa514t0FJ9AL0qulzi1U0U2TtO7UwWj2lTyYv6IxCBLiADLdhUbIfV7
         OscI1DQdKtfbaumUUDvu62Zuke9HZBa4GFVATA4JMCIJ8awquy38kVBSap5/Dx6GwqhW
         sal6z+XVwVW0TL1ncr5hbgUXAhZxYeApWYqkA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=sender:date:from:to:subject:message-id:mail-followup-to:references
         :mime-version:content-type:content-disposition:in-reply-to
         :user-agent;
        b=ZK7zhcdDzhdE2OH1zdjROOTVpzNSMOBnDuNpk3zIEj+om4vchzKDSzdeLl6Fgpj03t
         DI8BRsPK1OSY4n2r78NeJTZbZl0Ab8H0C73J1+TKMVUQh5XbBueQKqDd6Sq1y/k6AoMb
         3FcseGfhxyU3fxtBLAc9j99VwJXWhr5p0wto4=
Received: by 10.150.144.18 with SMTP id r18mr373591ybd.400.1305210856843;
        Thu, 12 May 2011 07:34:16 -0700 (PDT)
Received: from linux1 (cpe-76-183-49-63.tx.res.rr.com [76.183.49.63])
        by mx.google.com with ESMTPS id g7sm749536ybn.21.2011.05.12.07.34.15
        (version=SSLv3 cipher=OTHER);
        Thu, 12 May 2011 07:34:16 -0700 (PDT)
Sender: William Hubbs <w.d.hubbs@gmail.com>
Received: by linux1 (sSMTP sendmail emulation); Thu, 12 May 2011 09:34:14 -0500
Date: Thu, 12 May 2011 09:34:14 -0500
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: *_iface variables in openrc network scripts
Message-ID: <20110512143414.GA30669@linux1>
Mail-Followup-To: gentoo-dev@lists.gentoo.org
References: <20110512014540.GA28033@linux1>
 <4DCB3F6F.5000309@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm"
Content-Disposition: inline
In-Reply-To: <4DCB3F6F.5000309@gentoo.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: 
X-Archives-Hash: 0f775811fbf2b242243847137965ece3


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Jorge,

On Thu, May 12, 2011 at 02:01:19AM +0000, Jorge Manuel B. S. Vicetto wrote:
> On 12-05-2011 01:45, William Hubbs wrote:
> > In my opinion, the best way to fix this, and the best way forward, would
> > be to stop doing this. My plan is something like this:
> >=20
> > For the next openrc release, put in a warning that config_* is
> >   deprecated and advise the use of ifconfig_* or ipconfig_* depending on
> >   which interface handler is being used. Then, at some point in the
> >   future, remove support for config_*.
> >=20
> >   Does anyone have any thoughts?
>=20
> William,
>=20
> isn't that the whole point of the "modules" variable in the config file?
> One of the first things I do when configuring a new system is to edit
> /etc/conf.d/net and I start by adding modules=3D"iproute2" to it.

I'm not sure I follow. would you rather keep the config_* variable?

If so, how do you feel about requiring the syntax of the variable to
match the tool you are using?
That would mean that the following snippets would not work:

modules=3D"iproute2"
config_iface=3D"x.x.x.x netmask y.y.y.y broadcast z.z.z.z"
# the above is using ifconfig syntax with the iproute2 module

modules=3D"ifconfig"
config_iface=3D"x.x.x.x/y broadcast z.z.z.z"
# This is using iproute2 syntax with the ifconfig module.

William

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk3L7+YACgkQblQW9DDEZTjEHgCfTWTeHASUbsVvhEbZc/lSIppz
AZcAoLF+dAQqUfVPNFBwizb3d0sANq5W
=Iz4G
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--