Re: [gentoo-user] openvpn rc script dependencies

2018-04-11 Thread J. Roeleveld
On Tuesday, April 10, 2018 1:25:42 PM CEST Simon Thelen wrote: > On 18-04-10 at 10:55, Christoph Böhmwalder wrote: > > 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

Re: [gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Mick
On Tuesday, 10 April 2018 14:59:39 BST Christoph Böhmwalder wrote: > On Tue, Apr 10, 2018 at 01:25:42PM +0200, Simon Thelen wrote: > > What does your /etc/runlevels/ look like? Is the openvpn service in one > > of the runlevels? Are either of your network interfaces in one of the > > runlevels? >

Re: [gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Christoph Böhmwalder
On Tue, Apr 10, 2018 at 09:28:10AM -0400, Michael Orlitzky wrote: > This is half the problem, but the OpenVPN init script probably shouldn't > have "need net" in its depend() function to begin with. It runs fine > with only the loopback interface up. That's exactly why I got confused. Shouldn't

Re: [gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Christoph Böhmwalder
On Tue, Apr 10, 2018 at 01:25:42PM +0200, Simon Thelen wrote: > What does your /etc/runlevels/ look like? Is the openvpn service in one > of the runlevels? Are either of your network interfaces in one of the > runlevels? Looking at `rc-status -a`, the openvpn service and the wifi interface are

Re: [gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Michael Orlitzky
On 04/10/2018 07:25 AM, Simon Thelen wrote: > > Also check /etc/rc.conf and try setting rc_depend_strict="NO". I do wish > there were a way to modify require/provides without having to edit the > init scripts themselves. > This is half the problem, but the OpenVPN init script probably shouldn't

Re: [gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Simon Thelen
On 18-04-10 at 10:55, Christoph Böhmwalder wrote: > 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

[gentoo-user] openvpn rc script dependencies

2018-04-10 Thread Christoph Böhmwalder
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