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 <gentoo-dev+bounces-28534-garchives=archives.gentoo.org@gentoo.org>) id 1JA5vF-0005QZ-Qv for garchives@archives.gentoo.org; Wed, 02 Jan 2008 15:54:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id m02FqqDl026738; Wed, 2 Jan 2008 15:52:52 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 m02Fogmo024222 for <gentoo-dev@lists.gentoo.org>; Wed, 2 Jan 2008 15:50:43 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 C09FA1900DE for <gentoo-dev@lists.gentoo.org>; Wed, 2 Jan 2008 15:50:41 +0000 (GMT) Subject: Re: [gentoo-dev] OpenRC available for testing. From: Roy Marples <roy@marples.name> To: gentoo-dev@lists.gentoo.org In-Reply-To: <9e0cf0bf0801020715o559d04a6ne7b7148c9a4d133@mail.gmail.com> References: <1199191260.2786.9.camel@uberpc.marples.name> <477A91A5.7010102@gmail.com> <1199216999.25213.14.camel@localhost> <9e0cf0bf0801020639j2d620353mcf18ff5bc37af44c@mail.gmail.com> <1199286346.2373.16.camel@localhost> <9e0cf0bf0801020715o559d04a6ne7b7148c9a4d133@mail.gmail.com> Content-Type: text/plain Date: Wed, 02 Jan 2008 15:50:40 +0000 Message-Id: <1199289040.2373.26.camel@localhost> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> 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: aa1d4e69-08bd-4964-94ac-f759256fcb0d X-Archives-Hash: c20b34f78f299eb3c78fe21660a8c40b 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