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-45715-garchives=archives.gentoo.org@lists.gentoo.org>) id 1QKKz5-0007Uf-W4 for garchives@archives.gentoo.org; Thu, 12 May 2011 01:46:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CF3F1C043; Thu, 12 May 2011 01:46:24 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 544161C006 for <gentoo-dev@lists.gentoo.org>; Thu, 12 May 2011 01:45:45 +0000 (UTC) Received: by gxk9 with SMTP id 9so500780gxk.40 for <gentoo-dev@lists.gentoo.org>; Wed, 11 May 2011 18:45:44 -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:mime-version:content-type:content-disposition :user-agent; bh=yGmA/R+ClWQzzzXz0eI1FYzs30Xg/26s+zVTRSpw0oo=; b=R7GKoa/9hS+JZvdQGzdyf6MnJO1y8U+UVMLGfXYZyLGer4a+5e8ttxD7G6yB2TdEJE aVab2P+0wP+G2fcfD+F0YbjZp1cB7e2Jg2mE+w4NYWSb3uoWRQ8b38h/MaaviOmbA4I9 26j3dfn4qUiYefIfUcjMOFOHgGyHgn7GY+21I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mail-followup-to :mime-version:content-type:content-disposition:user-agent; b=ixmtjPc35ischq4ulPgT/TT4RoEY5uoYlD8zWc8uBZ5RmszqWDIU37tOMLtqjPrfIu RuAMyu1ttrKFdgwtgXYToX9qG1DXP6aiUiXEJ43GKr5JEcuIo059NsZ+orM8dKsK4Ysf bgnj1MSg/8d/NfjEqzOkAGkQP+D559k/gL/iA= Received: by 10.236.146.230 with SMTP id r66mr11326387yhj.98.1305164743210; Wed, 11 May 2011 18:45:43 -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 u7sm390019yhn.92.2011.05.11.18.45.41 (version=SSLv3 cipher=OTHER); Wed, 11 May 2011 18:45:42 -0700 (PDT) Sender: William Hubbs <w.d.hubbs@gmail.com> Received: by linux1 (sSMTP sendmail emulation); Wed, 11 May 2011 20:45:40 -0500 Date: Wed, 11 May 2011 20:45:40 -0500 From: William Hubbs <williamh@gentoo.org> To: gentoo development <gentoo-dev@lists.gentoo.org> Subject: [gentoo-dev] rfc: *_iface variables in openrc network scripts Message-ID: <20110512014540.GA28033@linux1> Mail-Followup-To: gentoo development <gentoo-dev@lists.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="bp/iNruPH9dso1Pn" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 42133017e5b87e70a28e9cf4b35a122d --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline All, we received a regression for openrc which prompted me to post this to the list to see what everyone thinks. The bug is http://bugs.gentoo.org/366905. Currently, we use one variable, config_$(INTERFACE), to configure the interfaces,. In the bsd world there are no issues, because there is only one configuration tool, ifconfig. However, in the linux world, there are two, ifconfig and iproute2, which have completely different command line syntax. Currently, we try to keep the syntax of config_* constant, which means that the scripts attempt to convert ifconfig syntax to iproute2, and the other way around. 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: 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_*. Does anyone have any thoughts? Thanks, William --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk3LO8QACgkQblQW9DDEZTgRTACgiUWY54UHZlT2Gtdwu9NfHBld cV4AniezYvJBcwsDUF7rDD+b+8x69jlE =dETO -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--