public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openvpn rc script dependencies
@ 2018-04-10  8:55 Christoph Böhmwalder
  2018-04-10 11:25 ` Simon Thelen
  2018-04-10 16:25 ` [gentoo-user] " Ian Zimmerman
  0 siblings, 2 replies; 8+ messages in thread
From: Christoph Böhmwalder @ 2018-04-10  8:55 UTC (permalink / raw
  To: gentoo-user

I was wondering how the OpenRC dependencies between start scripts work.

Basically, I have two network interfaces on my laptop (wlp3s0 and
enp0s20u2u3 for wireless and ethernet respectively).  When I start the
wireless interface service (rc-service net.wlp3s0 start) the OpenVPN
service starts and vice versa.  That's great, but I didn't configure
that anywhere.

What's even worse is that when I'm not connected via WiFi (i.e.
ethernet), the VPN service won't start because net.wlp3s0 isn't started:

# rc-service net.enp0s20u2u3 start
# ...
# rc-service openvpn.mullvad_at start
# rc-service openvpn.mullvad_at start
openvpn.mullvad_at| * Caching service dependencies ...                  [ ok ]
net.wlp3s0        | * Bringing up interface wlp3s0
net.wlp3s0        | *   Starting wpa_supplicant on wlp3s0 ...
net.wlp3s0        |Successfully initialized wpa_supplicant              [ ok ]
openvpn.mullvad_at| * WARNING: openvpn.mullvad_at will start when net.wlp3s0 has started
net.wlp3s0        | *   Starting wpa_cli on wlp3s0 ...                  [ ok ]
net.wlp3s0        | *   Backgrounding ... ...
net.wlp3s0        | * WARNING: net.wlp3s0 has started, but is inactive


Why would it do that, can I configure this anywhere?

Thanks for your help


--
Regards,
Christoph


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-11 18:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10  8:55 [gentoo-user] openvpn rc script dependencies Christoph Böhmwalder
2018-04-10 11:25 ` Simon Thelen
2018-04-10 13:28   ` Michael Orlitzky
2018-04-10 14:02     ` Christoph Böhmwalder
2018-04-10 13:59   ` Christoph Böhmwalder
2018-04-10 15:43     ` Mick
2018-04-11 18:38   ` J. Roeleveld
2018-04-10 16:25 ` [gentoo-user] " Ian Zimmerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox