public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: *_iface variables in openrc network scripts
@ 2011-05-12  1:45 William Hubbs
  2011-05-12  1:55 ` William Hubbs
  2011-05-12  2:01 ` Jorge Manuel B. S. Vicetto
  0 siblings, 2 replies; 7+ messages in thread
From: William Hubbs @ 2011-05-12  1:45 UTC (permalink / raw
  To: gentoo development

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

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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-13  2:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-05-12 23:49     ` Jorge Manuel B. S. Vicetto
2011-05-13  2:18       ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox