Re: net dependency behaviour
Roy Marples
Sun Jan 25 10:15:24 2009
On Sun, 2009-01-25 at 11:01 +0100, The Peach wrote:
> Hello all,
> first of all congrats for bringing the excellent openrc to gentoo, it really rocks ;)
Thanks :)
>
> Since I've upgraded from openrc-3* to openrc-4* there's something not behaving as I expected, and I don't know if it's just because of my habit or what.
> I'll try to explain:
> I've got two interfaces, net.eth1, a wired one with dhcp and a fallback address, and net.eth2, wifi working with wpa_supplicant.
> I've got several network services that I actually need when I'm connected (such as TOR+Privoxy, ntp-client, nfs), but there're some that I need to manually start even if I'm not connected, like apache and mysql.
> Up until openrc-3* I managed to create a working solution: I used netplug to manage the net.eth1 and wpa_supplicant for net.eth2, but both connections weren't in any runlevel. This meant that if I needed to start the aforementioned apache, this will not need any net.* to be started, and when just one interface connected, I will have all network services working right as expected.
> I don't know what changed, but since I upgraded to openrc-4*, I had the network interfaces not coming up as I expected, and adding them to the default runlevel makes the network services depend strongly on the interfaces, this means that even with just one interface working, I had all network services blocked by the other one.
> Someone suggested me to set rc_depend_strict to NO, which I don't believe is the correct solution to this problem, this is why I'm asking here... hoping someone will read it :)
So in a nutshell, openrc is not hotplugging your interfaces anymore, or
they are being hotplugged but not coming up?
Could you post your /etc/rc.conf and /etc/conf.d/net (comments
stripped)?
Thanks
Roy
PS - Please fix the line wrapping of you mail client
Attachment:
signature.asc
Description: This is a digitally signed message part
Archive administrator: postmaster@marples.name