From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JA5FG-0003nt-AZ for garchives@archives.gentoo.org; Wed, 02 Jan 2008 15:11:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id m02F9cuq030892; Wed, 2 Jan 2008 15:09:38 GMT Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id m02F5nlh024412 for ; Wed, 2 Jan 2008 15:05:50 GMT Received: from [10.73.1.31] (uberlaptop.marples.name [10.73.1.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id 878571900DE for ; Wed, 2 Jan 2008 15:05:48 +0000 (GMT) Subject: Re: [gentoo-dev] OpenRC available for testing. From: Roy Marples To: gentoo-dev@lists.gentoo.org In-Reply-To: <9e0cf0bf0801020639j2d620353mcf18ff5bc37af44c@mail.gmail.com> References: <1199191260.2786.9.camel@uberpc.marples.name> <477A91A5.7010102@gmail.com> <1199216999.25213.14.camel@localhost> <9e0cf0bf0801020639j2d620353mcf18ff5bc37af44c@mail.gmail.com> Content-Type: text/plain Date: Wed, 02 Jan 2008 15:05:46 +0000 Message-Id: <1199286346.2373.16.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Archives-Salt: 1d212af5-01da-4a9b-9eec-8e1b9afdc0dc X-Archives-Hash: f0e16f1cda12242abe3b590b23fa7fe4 On Wed, 2008-01-02 at 16:39 +0200, Alon Bar-Lev wrote: > On 1/1/08, Roy Marples 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