On 2017-09-20, Ian Zimmerman <[email protected]> wrote:

> When I add multiple net.* services to a single runlevel (basic example:
> both a net.en* and a net.wl* service in default runlevel), it has a
> surprising and undesirable effect: when I bring one of them down by
> stopping the service, dnsmasq also gets stopped.
>
> It is as if openrc thinks dnsmasq "depends" in the openrc sense on
> _both_ the net.* services, instead of just one.  Is there a way to hack
> the dependency machinery to teach openrc the right way?

>From my /etc/rc.conf:

# Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
rc_depend_strict="NO"

-- 
Grant Edwards               grant.b.edwards        Yow! for ARTIFICIAL
                                  at               FLAVORING!!
                              gmail.com            


Reply via email to