public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Simon Thelen <gentoo-user@c-14.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] openvpn rc script dependencies
Date: Tue, 10 Apr 2018 13:25:42 +0200	[thread overview]
Message-ID: <20180410112541.GA4335@anonymous> (raw)
In-Reply-To: <20180410085536.7evacee4ccruwzeq@christoph-lap>

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 (rc-service net.wlp3s0 start) the OpenVPN
> service starts and vice versa.  That's great, but I didn't configure
> that anywhere.
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?

> 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:
[..]
> Why would it do that, can I configure this anywhere?
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.


-- 
Simon Thelen


  reply	other threads:[~2018-04-10 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10  8:55 [gentoo-user] openvpn rc script dependencies Christoph Böhmwalder
2018-04-10 11:25 ` Simon Thelen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180410112541.GA4335@anonymous \
    --to=gentoo-user@c-14.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox