-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12-05-2011 01:45, William Hubbs wrote: > 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?
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. > Thanks, > > William > - -- Regards, Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJNyz9vAAoJEC8ZTXQF1qEPeu8P/39X4MPzqwNe0wb7yBBxTOhz bSCoWroD+NyU6WHWq/WumZBKugXhjQpxHr1QcXtckUJonVcwZz7bxuv6YzMqReOY 00bhYF4Ok2xpFrLlwNR5c+lRxNyOI4S8noglkGnNgnnEyCIP76fENdzMNu9viHhf 23bOUFBaNe0Bm8R7NLpntQcM4Ihk4aC7l60ffRC3/L0pRetPJeDjpTOKuooxsFKP Bms4ZgATtUziAkjcZ4z/u3hIbgvNwcQSlXS2OHfPCPpvxGKx9jpDkbnW4WL582h5 /SH4RF1pCFFyTwQ4LFZatftD/r/aOqO1CXlbroEDgNL79dE93Cjf1US3fiIDXHTu 5VNi/HabY9Mz13+HxUIvUxBGx7q3CUY2wpPpK0U5A+voxTlLF7W2rp/+QZZfwQXG TJVFOIwn/Egr4SUlD6ayS+tVFARIygjJhQCCiX1aTdWZ1k13wqg72DcGHnxQhdjd s83UI8FAaRh7CWX6/hfo+FxZ0oE+3V4kNN3Mjm1qB1bqCO+p98BwMGR+DQHRSOGU ue6pGQ5EKnrTqJ68aBkbDL3h56pOf5SKoIw71bCv0lXbDVTif3+IRveyUlEVy7Dp 7mmYLE49paCQkY0SDYhpi22TzBE/RGg9lNz8Zt3WG8tS1Lwg7I0Q1zKuVIdSEbsH tSfJWWzH8NE9731oTi35 =v/dl -----END PGP SIGNATURE-----