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
In Reply to: Re: [gentoo-dev] rfc: OpenRC Networking Scripts by William Hubbs
Hash: SHA256

On 27/05/12 10:56 AM, William Hubbs wrote:
> On Sun, May 27, 2012 at 10:49:07AM -0400, Ian Stakenvicius wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >> >> On 26/05/12 03:40 PM, William Hubbs wrote: >>> All, >>> >>> I realize this has been discussed and there are definite >>> opinions about which method works well. So, I want to take a >>> different approach. >>> >>> Is there any interest in documenting and supporting newnet >>> along side oldnet as opposed to killing newnet? >>> >>> Newnet would consist of the "network" init script to set up >>> your loopback interface along with something like dhcpcd, >>> networkmanager, or wicd (and wpa_supplicant for wireless >>> interfaces) running in standalone mode to manage your other >>> interfaces. >>> >>> My understanding of the way newnet works is that the big >>> advantage would come for workstations that have a simple >>> network setup and where users would want hotplugged interfaces >>> to just work. >>> >>> Any thoughts? >>> >>> William >>> >> >> >> Just want to point out that my hotplugged interfaces work great >> with oldnet. > > Actually they don't, because we don't make or remove the net.* > symlinks in /etc/init.d for the hotplugged interfaces when the > interfaces are added or removed. > > William >
Although yes this is true, when I did my install I just made symlinks for net.eth{0,1,2,3} and net.wlan{0,1}. Once they are there, usage is straight-forward and the iface scripts that I don't hotplug are never started so there isn't any issue with them being there (on my systems I don't specify all devices need to be up for 'net' to be up). Although, as rumour has it udev is dropping the persistent-*.rules soon so it might become difficult for me to configure my various net.*'s in a consistent way. But that's a side issue that'll affect more than just hotplugging I expect. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iF4EAREIAAYFAk/DoHYACgkQ2ugaI38ACPB62AEAoxWcOPJUBeWh/mJbcQ3ueITa Fq0jCbLzVnMLVPX2OXQBAI/+/0ameFw24/0fGeCpSMTWCBe0iQajIAV1y2HETRsM =aZDR -----END PGP SIGNATURE-----