1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 12-05-2011 01:45, William Hubbs wrote: |
5 |
> All, |
6 |
> |
7 |
> we received a regression for openrc which prompted me to post this to |
8 |
> the list to see what everyone thinks. The bug is |
9 |
> |
10 |
> http://bugs.gentoo.org/366905. |
11 |
> |
12 |
> Currently, we use one variable, config_$(INTERFACE), to configure |
13 |
> the interfaces,. |
14 |
> |
15 |
> In the bsd world there are no issues, because there is only one configuration |
16 |
> tool, ifconfig. |
17 |
> |
18 |
> However, in the linux world, there are two, ifconfig |
19 |
> and iproute2, which have completely different command line syntax. |
20 |
> Currently, we try to keep the syntax of config_* constant, which means |
21 |
> that the scripts attempt to convert ifconfig syntax to iproute2, and |
22 |
> the other way around. |
23 |
> |
24 |
> In my opinion, the best way to fix this, and the best way forward, would |
25 |
> be to stop doing this. My plan is something like this: |
26 |
> |
27 |
> For the next openrc release, put in a warning that config_* is |
28 |
> deprecated and advise the use of ifconfig_* or ipconfig_* depending on |
29 |
> which interface handler is being used. Then, at some point in the |
30 |
> future, remove support for config_*. |
31 |
> |
32 |
> Does anyone have any thoughts? |
33 |
|
34 |
William, |
35 |
|
36 |
isn't that the whole point of the "modules" variable in the config file? |
37 |
One of the first things I do when configuring a new system is to edit |
38 |
/etc/conf.d/net and I start by adding modules="iproute2" to it. |
39 |
|
40 |
> Thanks, |
41 |
> |
42 |
> William |
43 |
> |
44 |
|
45 |
- -- |
46 |
Regards, |
47 |
|
48 |
Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org |
49 |
Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng |
50 |
-----BEGIN PGP SIGNATURE----- |
51 |
Version: GnuPG v2.0.17 (GNU/Linux) |
52 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
53 |
|
54 |
iQIcBAEBAgAGBQJNyz9vAAoJEC8ZTXQF1qEPeu8P/39X4MPzqwNe0wb7yBBxTOhz |
55 |
bSCoWroD+NyU6WHWq/WumZBKugXhjQpxHr1QcXtckUJonVcwZz7bxuv6YzMqReOY |
56 |
00bhYF4Ok2xpFrLlwNR5c+lRxNyOI4S8noglkGnNgnnEyCIP76fENdzMNu9viHhf |
57 |
23bOUFBaNe0Bm8R7NLpntQcM4Ihk4aC7l60ffRC3/L0pRetPJeDjpTOKuooxsFKP |
58 |
Bms4ZgATtUziAkjcZ4z/u3hIbgvNwcQSlXS2OHfPCPpvxGKx9jpDkbnW4WL582h5 |
59 |
/SH4RF1pCFFyTwQ4LFZatftD/r/aOqO1CXlbroEDgNL79dE93Cjf1US3fiIDXHTu |
60 |
5VNi/HabY9Mz13+HxUIvUxBGx7q3CUY2wpPpK0U5A+voxTlLF7W2rp/+QZZfwQXG |
61 |
TJVFOIwn/Egr4SUlD6ayS+tVFARIygjJhQCCiX1aTdWZ1k13wqg72DcGHnxQhdjd |
62 |
s83UI8FAaRh7CWX6/hfo+FxZ0oE+3V4kNN3Mjm1qB1bqCO+p98BwMGR+DQHRSOGU |
63 |
ue6pGQ5EKnrTqJ68aBkbDL3h56pOf5SKoIw71bCv0lXbDVTif3+IRveyUlEVy7Dp |
64 |
7mmYLE49paCQkY0SDYhpi22TzBE/RGg9lNz8Zt3WG8tS1Lwg7I0Q1zKuVIdSEbsH |
65 |
tSfJWWzH8NE9731oTi35 |
66 |
=v/dl |
67 |
-----END PGP SIGNATURE----- |