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 1QD077-0004Iu-5B for garchives@archives.gentoo.org; Thu, 21 Apr 2011 20:04:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B5751C0B9; Thu, 21 Apr 2011 20:04:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EB8621C096 for ; Thu, 21 Apr 2011 20:03:48 +0000 (UTC) Received: from [192.168.1.201] (215.150.222.87.dynamic.jazztel.es [87.222.150.215]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id A0FEF1B4054 for ; Thu, 21 Apr 2011 20:03:47 +0000 (UTC) Subject: Re: [gentoo-dev] rfc: openrc use flag From: Pacho Ramos To: gentoo-dev@lists.gentoo.org In-Reply-To: <20110421193058.GB12112@linux1> References: <20110420172419.GC12411@linux1> <1303322561.22688.9.camel@tablet> <1303323632.9092.30.camel@localhost.localdomain> <20110421193058.GB12112@linux1> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-i3WioluWMKl/+Ul6H/MD" Date: Thu, 21 Apr 2011 22:03:42 +0200 Message-ID: <1303416222.4481.6.camel@localhost.localdomain> 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 X-Mailer: Evolution 2.32.2 X-Archives-Salt: X-Archives-Hash: cf4b6dad86ac9ebb3920b60081087e6e --=-i3WioluWMKl/+Ul6H/MD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue, 21-04-2011 a las 14:30 -0500, William Hubbs escribi=C3=B3: > On Wed, Apr 20, 2011 at 08:20:32PM +0200, Pacho Ramos wrote: > > El mi=C3=A9, 20-04-2011 a las 22:02 +0400, Peter Volkov escribi=C3=B3: > > > =D0=92 =D0=A1=D1=80=D0=B4, 20/04/2011 =D0=B2 12:24 -0500, William Hub= bs =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 p= ut a > > > > check in openrc that makes it refuse to run services if it was not = used > > > > in the boot process. > > >=20 > > > 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. > > >=20 > > > > This may work; however, I do not feel that it addresses the root ca= use > > > > of the bug. I feel that the root cause is packages unconditionally > > > > installing udev rules which assume everyone uses openrc. > > >=20 > > > I'd voted to have both implemented. > > >=20 > >=20 > > I would vote for the first one, I still don't like "openrc" USE flag > > approach much because: > > 1. Would need to rebuild some packages when switching between init > > systems. >=20 > I don't think you can get away from this, no matter how you approach > it. The other approach I thought of is to include the udev pieces > directly in openrc and make it possible to build openrc with or without > udev integration. That will still mean you have to rebuild openrc though > if you want udev support. >=20 With mgorny's approach looks like recompiling wouldn't be needed :-/ > > 2. I remember (from "logrotate" USE flag case) that using an USE flag > > for simply installing or not a file is not usually preferred :-/ >=20 > In the logrotate use flag case, that decision was made because a user > can use INSTALL_MASK=3D"/etc/logrotate.d" in make.conf to block those > files. But that argument definitely does not apply here. If the user > doesn't want this support what should he set INSTALL_MASK to? > =20 That's true, thanks for the explanation :) > William >=20 --=-i3WioluWMKl/+Ul6H/MD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk2wjZ4ACgkQCaWpQKGI+9RB0wCfQ4p0fWwfh9GXega3CbL6Chtn iDgAniVQ1v47xec9ctQqDu4e7bQ/F97O =RHXt -----END PGP SIGNATURE----- --=-i3WioluWMKl/+Ul6H/MD--