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-45724-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QKhyg-0005gr-UP
	for garchives@archives.gentoo.org; Fri, 13 May 2011 02:19:43 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A95711C054;
	Fri, 13 May 2011 02:19:33 +0000 (UTC)
Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id CDA971C04B
	for <gentoo-dev@lists.gentoo.org>; Fri, 13 May 2011 02:19:00 +0000 (UTC)
Received: by yxm8 with SMTP id 8so1010925yxm.40
        for <gentoo-dev@lists.gentoo.org>; Thu, 12 May 2011 19:19:00 -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=iXAwSclQ2K4NT2UmUHAQ9iqT2BUas76N7JyXmli7JE4=;
        b=OrUPybO61KERnvtiDNvIFpv4LpUuEk04IS9scbl1qE1geEWtsVbvG/CMTEDZ9e/L+k
         /lGdegSOucQXoo39fEiz7UpYNXlhk+I9f/wZ0VMipwDs6erhZ7msGERK1GXq6uSVoWLG
         wUM50lQ9qI+rRzgIGne5tw2QHorGDrw7GPGvU=
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=pZQxvsxWcLbu65xJU/5lAe10drPYTVkH+bqelXngcG6p+/s/NUVm8CvZ/Mupi1ITtk
         el2mrqe+fMBo+bE6hub2vO9Pyu8AqvrV4sMxIrMnXC0zvC6b51B7H3bQoeAKKQ11qC+r
         ZUnT55JYTsGxXGW4yla9zYDpwiX4tRcTp1Eu4=
Received: by 10.150.187.18 with SMTP id k18mr1010403ybf.19.1305253140194;
        Thu, 12 May 2011 19:19:00 -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 r18sm1055211yba.11.2011.05.12.19.18.57
        (version=SSLv3 cipher=OTHER);
        Thu, 12 May 2011 19:18:59 -0700 (PDT)
Sender: William Hubbs <w.d.hubbs@gmail.com>
Received: by linux1 (sSMTP sendmail emulation); Thu, 12 May 2011 21:18:57 -0500
Date: Thu, 12 May 2011 21:18:57 -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: <20110513021857.GA1992@linux1>
Mail-Followup-To: gentoo-dev@lists.gentoo.org
References: <20110512014540.GA28033@linux1>
 <4DCB3F6F.5000309@gentoo.org>
 <20110512143414.GA30669@linux1>
 <4DCC7202.5040201@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="5mCyUwZo2JvN/JJP"
Content-Disposition: inline
In-Reply-To: <4DCC7202.5040201@gentoo.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: 
X-Archives-Hash: a51e99e1f62ebfc86a5efad2e1d0de8e


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

Hi Jorge,

On Thu, May 12, 2011 at 11:49:22PM +0000, Jorge Manuel B. S. Vicetto wrote:
> On 12-05-2011 14:34, William Hubbs wrote:
> > I'm not sure I follow. would you rather keep the config_* variable?
>=20
> I think we should try to keep them.
>=20
> > If so, how do you feel about requiring the syntax of the variable to
> > match the tool you are using?
>=20
> That's exactly what I meant.
> By choosing the module one would get tied to its syntax. That should
> make it simpler to parse the data.

Ok, cool, this was actually my first choice, but I wasn't sure how it
would go over.

> I would also suggest making the
> declaration of modules mandatory or for you to pick a default tool to be
> used when someone doesn't declare modules.

We already do this. iproute2 is preferred if you have it installed;
otherwise ifconfig is used.

I believe the order of preference is discussed in the net.example file.

The only time you really need the modules=3D or modules_iface=3D lines is if
you want to force a specific module to be preferred for an interface.

William


--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature

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

iEYEARECAAYFAk3MlREACgkQblQW9DDEZTiBhgCgiwAYnq/5YysnumUlKcu/k4Pk
ahYAn2pxhVbxDx8tBMK/TtE709Fc0smW
=QeQE
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--