public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Roy Marples <roy@marples.name>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] OpenRC available for testing.
Date: Wed, 02 Jan 2008 15:50:40 +0000	[thread overview]
Message-ID: <1199289040.2373.26.camel@localhost> (raw)
In-Reply-To: <9e0cf0bf0801020715o559d04a6ne7b7148c9a4d133@mail.gmail.com>

On Wed, 2008-01-02 at 17:15 +0200, Alon Bar-Lev wrote:
> On 1/2/08, Roy Marples <roy@marples.name> wrote:
> > Those functions were removed from functions.sh as only update-modules
> > still uses them. udev does use KV_to_int though. I don't really want to
> > add those functions back. Although we could trivially add is_older_than
> > as a C applet built into rc.
> 
> So who should take care of this?

update-modules maintainer which would be vapier.
I notified him on IRC about this a few months ago, but he never replied
one way or the other.

> > > How can I add a specific service dependency using this mechanism? The
> > > modified service name is missing...
> >
> > They're supposed to belong in /etc/conf.d/$SVCNAME
> > Maybe you could suggest better wording?
> >
> > I suppose we could also allow
> > rc_$SVCNAME_$depend to work, for example
> >
> > rc_clock_need="modules"
> 
> Oh... This is good, just document it... :)

Done!
re-emerge to test.

> You did not reply regarding this one:
> 
> > > Also the network dependency of stopping/starting services when network
> > > is unavailable/available is gone, any alternative?

It's not gone at all - just different. It's also no longer net specific,
and applies to any service that can be multiplexed. But lets use net as
the example as everyone understands that.

With rc_depend_strict=YES (which is the default)
If any services added to the current runlevel provide net then all those
services will be used. If none found, then check the boot runlevel and
use those. If none found then nothing provides net as such.

With rc_depend_strict=NO we check the following and abort at the first
match.
Check if any started service provide net - if so use them.
Check if any inactive services provide net - if so use them.
Check if any coldplugged services provide net - if so use them.
If nothing found then list ALL installed services that provide net.

Hopefully that makes things a little more clear.

Thanks

Roy

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2008-01-02 15:54 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01 12:41 [gentoo-dev] OpenRC available for testing Roy Marples
2008-01-01 12:45 ` Roy Marples
2008-01-01 13:23   ` Alon Bar-Lev
2008-01-01 15:06     ` Petteri Räty
2008-01-01 16:55       ` Alon Bar-Lev
2008-01-01 17:11         ` Roy Marples
2008-01-01 17:22         ` Alon Bar-Lev
2008-01-01 17:48           ` Roy Marples
2008-01-03  6:43           ` Alon Bar-Lev
2008-01-03  9:46             ` Roy Marples
2008-01-03 10:02               ` Alon Bar-Lev
2008-01-03 10:09                 ` Roy Marples
2008-01-01 19:16 ` Thomas Pani
2008-01-01 19:31   ` TimeBreach
2008-01-01 19:49   ` Roy Marples
2008-01-02 14:39     ` Alon Bar-Lev
2008-01-02 15:05       ` Roy Marples
2008-01-02 15:15         ` Alon Bar-Lev
2008-01-02 15:50           ` Roy Marples [this message]
2008-01-03 15:49         ` Mike Frysinger
2008-01-03 18:19           ` Roy Marples
2008-01-06 13:34             ` [gentoo-dev] " Steve Long
2008-01-09 21:26             ` [gentoo-dev] " Mike Frysinger
2008-01-09 21:48               ` Chris Gianelloni
2008-01-09 22:58                 ` Mike Frysinger
2008-01-03 15:50     ` Mike Frysinger
2008-01-03 16:24       ` Roy Marples
2008-01-03 17:58         ` Roy Marples
2008-01-09 21:27           ` Mike Frysinger
2008-01-02 16:52 ` Santiago M. Mola
2008-01-02 17:39   ` Roy Marples
2008-01-03  4:38 ` Nathan Smith
2008-01-03  9:49   ` Roy Marples
     [not found] ` <9e0cf0bf0801030055u3564058fy7f9595d4df86674a@mail.gmail.com>
2008-01-03  8:58   ` Alon Bar-Lev
2008-01-03  9:50     ` Roy Marples
2008-01-03 10:13       ` Roy Marples
2008-01-03 10:18         ` Richard Brown
2008-01-03 10:40           ` Roy Marples
2008-01-03 12:12             ` Santiago M. Mola
2008-01-06 13:45               ` [gentoo-dev] " Steve Long
2008-01-03 14:01           ` [gentoo-dev] " Wulf C. Krueger
2008-01-09 21:30             ` Mike Frysinger
2008-01-03 23:35           ` Luca Barbato
2008-01-03 11:43       ` Alon Bar-Lev

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=1199289040.2373.26.camel@localhost \
    --to=roy@marples.name \
    --cc=gentoo-dev@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