public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: *_iface variables in openrc network scripts
Date: Thu, 12 May 2011 09:34:14 -0500	[thread overview]
Message-ID: <20110512143414.GA30669@linux1> (raw)
In-Reply-To: <4DCB3F6F.5000309@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]

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:
> > 
> > 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?
> 
> William,
> 
> 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="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="iproute2"
config_iface="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="ifconfig"
config_iface="x.x.x.x/y broadcast z.z.z.z"
# This is using iproute2 syntax with the ifconfig module.

William

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-05-12 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12  1:45 [gentoo-dev] rfc: *_iface variables in openrc network scripts William Hubbs
2011-05-12  1:55 ` William Hubbs
2011-05-12  9:35   ` Petteri Räty
2011-05-12  2:01 ` Jorge Manuel B. S. Vicetto
2011-05-12 14:34   ` William Hubbs [this message]
2011-05-12 23:49     ` Jorge Manuel B. S. Vicetto
2011-05-13  2:18       ` William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110512143414.GA30669@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox