net dependency behaviour
The Peach
Sun Jan 25 10:01:41 2009
Hello all,
first of all congrats for bringing the excellent openrc to gentoo, it really rocks ;)
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 :)
Thanks for your time.
Regards,
--
Matteo 'Peach' Pescarin
Archive administrator: postmaster@marples.name