Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: OpenRC Networking Scripts
Date: Mon, 28 May 2012 15:58:39
Message-Id: 4FC3A076.7050407@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: OpenRC Networking Scripts by William Hubbs
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 27/05/12 10:56 AM, William Hubbs wrote:
5 > On Sun, May 27, 2012 at 10:49:07AM -0400, Ian Stakenvicius wrote:
6 >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
7 >>
8 >> On 26/05/12 03:40 PM, William Hubbs wrote:
9 >>> All,
10 >>>
11 >>> I realize this has been discussed and there are definite
12 >>> opinions about which method works well. So, I want to take a
13 >>> different approach.
14 >>>
15 >>> Is there any interest in documenting and supporting newnet
16 >>> along side oldnet as opposed to killing newnet?
17 >>>
18 >>> Newnet would consist of the "network" init script to set up
19 >>> your loopback interface along with something like dhcpcd,
20 >>> networkmanager, or wicd (and wpa_supplicant for wireless
21 >>> interfaces) running in standalone mode to manage your other
22 >>> interfaces.
23 >>>
24 >>> My understanding of the way newnet works is that the big
25 >>> advantage would come for workstations that have a simple
26 >>> network setup and where users would want hotplugged interfaces
27 >>> to just work.
28 >>>
29 >>> Any thoughts?
30 >>>
31 >>> William
32 >>>
33 >>
34 >>
35 >> Just want to point out that my hotplugged interfaces work great
36 >> with oldnet.
37 >
38 > Actually they don't, because we don't make or remove the net.*
39 > symlinks in /etc/init.d for the hotplugged interfaces when the
40 > interfaces are added or removed.
41 >
42 > William
43 >
44
45 Although yes this is true, when I did my install I just made symlinks
46 for net.eth{0,1,2,3} and net.wlan{0,1}. Once they are there, usage is
47 straight-forward and the iface scripts that I don't hotplug are never
48 started so there isn't any issue with them being there (on my systems
49 I don't specify all devices need to be up for 'net' to be up).
50
51 Although, as rumour has it udev is dropping the persistent-*.rules
52 soon so it might become difficult for me to configure my various
53 net.*'s in a consistent way. But that's a side issue that'll affect
54 more than just hotplugging I expect.
55
56 -----BEGIN PGP SIGNATURE-----
57 Version: GnuPG v2.0.17 (GNU/Linux)
58
59 iF4EAREIAAYFAk/DoHYACgkQ2ugaI38ACPB62AEAoxWcOPJUBeWh/mJbcQ3ueITa
60 Fq0jCbLzVnMLVPX2OXQBAI/+/0ameFw24/0fGeCpSMTWCBe0iQajIAV1y2HETRsM
61 =aZDR
62 -----END PGP SIGNATURE-----