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 1QCjgs-00013k-Up for garchives@archives.gentoo.org; Thu, 21 Apr 2011 02:32:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29A381C0CE; Thu, 21 Apr 2011 02:32:14 +0000 (UTC) Received: from smtp-vbr19.xs4all.nl (smtp-vbr19.xs4all.nl [194.109.24.39]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D9981C065 for ; Thu, 21 Apr 2011 02:31:49 +0000 (UTC) Received: from epia.jer-c2.orkz.net (D4B2706A.static.ziggozakelijk.nl [212.178.112.106]) (authenticated bits=0) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id p3L2VkRY073164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 21 Apr 2011 04:31:48 +0200 (CEST) (envelope-from jer@gentoo.org) Date: Thu, 21 Apr 2011 04:31:46 +0200 From: Jeroen Roovers To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: openrc use flag Message-ID: <20110421043146.38f2966b@epia.jer-c2.orkz.net> In-Reply-To: <1303322561.22688.9.camel@tablet> References: <20110420172419.GC12411@linux1> <1303322561.22688.9.camel@tablet> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; i686-pc-linux-gnu) 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner X-Archives-Salt: X-Archives-Hash: ccbe6f1f352767a55e9223e5c19ff676 On Wed, 20 Apr 2011 22:02:41 +0400 Peter Volkov wrote: > =D0=92 =D0=A1=D1=80=D0=B4, 20/04/2011 =D0=B2 12:24 -0500, William Hubbs = =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > The author of the bug feels that the way to fix this is for us to > > put a check in openrc that makes it refuse to run services if it > > was not used in the boot process. Why refuse? It could instead assume it needed to only start a service in, say, a chroot, like ssh or apache2, without assuming anything else needs to be done. If the service needed anything else, it could be left to fail on its own terms. > This is good idea to have in any case since I remember my system went > crazy after I've tried to start some service inside chroot. Basically, baselayout/openrc (baselayout-1 has the same problem) would (try to) shut down your system because it thought something was terribly wrong. That's bitten me as well when I still thought I could test services inside a chroot. > > This may work; however, I do not feel that it addresses the root > > cause of the bug. I feel that the root cause is packages > > unconditionally installing udev rules which assume everyone uses > > openrc. How should the udev rules be changed to match /any/ init system? jer