From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QCzCR-0005UU-5y for garchives@archives.gentoo.org; Thu, 21 Apr 2011 19:05:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADA021C022; Thu, 21 Apr 2011 19:05:48 +0000 (UTC) Received: from mail-yi0-f53.google.com (mail-yi0-f53.google.com [209.85.218.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E08B91C012 for ; Thu, 21 Apr 2011 19:05:08 +0000 (UTC) Received: by yia25 with SMTP id 25so10099yia.40 for ; Thu, 21 Apr 2011 12:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Xq0S+3hTnuW/cyxFcTHWo75ak9HFD0kocXeZgFFuQ3c=; b=n9cKRer0JHV+VtBgO6wBt03a0H0qlMDaCFxO2XMGehn53sw+Ht0NLx8K5tJvsjmrHy q3fl+Cv9yBHRecO3qcSnlmZVOwf+ClHuR3Dtcy+f4p4sHbWt5YePDo69HcDhuLe0fUIQ 8hjARBH7g/UqPeFsDzPWcaFWGBJZ1I2uHv9nE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=alDAknIekka6B6NzWu1b/NKlUZp1ejpgbfTHMJPqQBy8fXdg5ZBdDOhPoNbuSAmtX3 GdyXh60QdN8oJGcm+FWq23Gt0OBmsfeU447C6UTkwWYX8FLa4toS7kFJ2oxEvxRvSTOA AxWPtUz/Qvsj9QfJVeFDogP+ijCotscVb3IeY= Received: by 10.150.213.18 with SMTP id l18mr737791ybg.329.1303412708266; Thu, 21 Apr 2011 12:05:08 -0700 (PDT) Received: from linux1 (cpe-76-183-49-63.tx.res.rr.com [76.183.49.63]) by mx.google.com with ESMTPS id u37sm2215034yba.22.2011.04.21.12.05.06 (version=SSLv3 cipher=OTHER); Thu, 21 Apr 2011 12:05:07 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Thu, 21 Apr 2011 14:05:05 -0500 Date: Thu, 21 Apr 2011 14:05:05 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: openrc use flag Message-ID: <20110421190505.GA12112@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20110420172419.GC12411@linux1> <1303322561.22688.9.camel@tablet> <20110421043146.38f2966b@epia.jer-c2.orkz.net> <20110421043459.GA14245@linux1> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20110421043459.GA14245@linux1> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 0e44e2f0cc07f687061936f792a774a5 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 20, 2011 at 11:34:59PM -0500, William Hubbs wrote: > On Thu, Apr 21, 2011 at 04:31:46AM +0200, Jeroen Roovers wrote: > > How should the udev rules be changed to match /any/ init system? >=20 > For an example of the problem, take a look on your system at > /lib/udev/rules.d/90-network.rules. This is part of openrc's hotplug > functionality. Basically it tries to run > /etc/init.d/net.$INTERFACE start when a network interface is added to > the system and rc_hotplug allows it. > =20 > In net-wireless/bluez, you will see similar integration between openrc > and udev. Once bluez is installed, /lib/udev/rules.d/70-bluetooth.rules > runs bluetooth.sh which tries to run a service in /etc/init.d. >=20 > To make things work with /any/ init system, the best way to go would be > to make it a practice not to run services from within udev rules or > external run scripts like net.sh and bluetooth.sh in /lib/udev. Another option for this would be to include this level of udev integration in the openrc package itself instead of spreading it through the other packages. If I do that, when you install openrc, you would optionally get those pieces that integrate it with udev instead of those pieces coming from the individual packages. Comments? William --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk2wf+EACgkQblQW9DDEZThLSgCfRToNT0Edmbah1XAj+gWQK9VO oVYAnjFWyUSUkfEr5MrU8FMM+7Wnh7Ad =zy4i -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--