1 |
I was wondering how the OpenRC dependencies between start scripts work. |
2 |
|
3 |
Basically, I have two network interfaces on my laptop (wlp3s0 and |
4 |
enp0s20u2u3 for wireless and ethernet respectively). When I start the |
5 |
wireless interface service (rc-service net.wlp3s0 start) the OpenVPN |
6 |
service starts and vice versa. That's great, but I didn't configure |
7 |
that anywhere. |
8 |
|
9 |
What's even worse is that when I'm not connected via WiFi (i.e. |
10 |
ethernet), the VPN service won't start because net.wlp3s0 isn't started: |
11 |
|
12 |
# rc-service net.enp0s20u2u3 start |
13 |
# ... |
14 |
# rc-service openvpn.mullvad_at start |
15 |
# rc-service openvpn.mullvad_at start |
16 |
openvpn.mullvad_at| * Caching service dependencies ... [ ok ] |
17 |
net.wlp3s0 | * Bringing up interface wlp3s0 |
18 |
net.wlp3s0 | * Starting wpa_supplicant on wlp3s0 ... |
19 |
net.wlp3s0 |Successfully initialized wpa_supplicant [ ok ] |
20 |
openvpn.mullvad_at| * WARNING: openvpn.mullvad_at will start when net.wlp3s0 has started |
21 |
net.wlp3s0 | * Starting wpa_cli on wlp3s0 ... [ ok ] |
22 |
net.wlp3s0 | * Backgrounding ... ... |
23 |
net.wlp3s0 | * WARNING: net.wlp3s0 has started, but is inactive |
24 |
|
25 |
|
26 |
Why would it do that, can I configure this anywhere? |
27 |
|
28 |
Thanks for your help |
29 |
|
30 |
|
31 |
-- |
32 |
Regards, |
33 |
Christoph |