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:05:46 +0000	[thread overview]
Message-ID: <1199286346.2373.16.camel@localhost> (raw)
In-Reply-To: <9e0cf0bf0801020639j2d620353mcf18ff5bc37af44c@mail.gmail.com>


On Wed, 2008-01-02 at 16:39 +0200, Alon Bar-Lev wrote:
> On 1/1/08, Roy Marples <roy@marples.name> wrote:
> > > It took me some time to find /etc/conf.d/modules, but it's certainly
> > > useful :).
> >
> > It also means all config files, with the exceptions of fstab and rc.conf
> > are in conf.d and not some random dir :)
> 
> Took me a while too... Some ChangeLog documentation should be available.
> 
> Also I think this is a regression:
> # update-modules
> /sbin/update-modules: line 118: KV_to_int: command not found
> /sbin/update-modules: line 118: KV_to_int: command not found
> /sbin/update-modules: line 263: is_older_than: command not found

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.

> And I think there is a circular dependency of:
> openrc->init-module-tools->baselayout->openrc

Quite possibly. I'm sure some bright spark can actually say what's wrong
before it hits portage.

> 
> I did not understand the comments in rc.conf regarding the external
> dependency...
> # It's possible to define extra dependencies for services like so
> #rc_config="/etc/foo"
> #rc_need="openvpn"
> #rc_use="net.eth0"
> #rc_after="clock"
> #rc_before="local"
> 
> 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"

> I also notice that the timezone of clock is gone, any alternative?
> Also the network dependency of stopping/starting services when network
> is unavailable/available is gone, any alternative?

The timezone was variable was just a hack for the timezone ebuild to
update /etc/localtime if it's not a symlink. I'm striving to remove all
"Gentooisms" from it so that it really is platform neutral.

Thanks

Roy

-- 
gentoo-dev@gentoo.org mailing list



  reply	other threads:[~2008-01-02 15:11 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 [this message]
2008-01-02 15:15         ` Alon Bar-Lev
2008-01-02 15:50           ` Roy Marples
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=1199286346.2373.16.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