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 1QCzbI-0000K3-Pr for garchives@archives.gentoo.org; Thu, 21 Apr 2011 19:31:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B98F1C046; Thu, 21 Apr 2011 19:31:29 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 062431C012 for ; Thu, 21 Apr 2011 19:31:01 +0000 (UTC) Received: by gyh4 with SMTP id 4so16899gyh.40 for ; Thu, 21 Apr 2011 12:31:01 -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=fTdEyDspabb39Wdddqlz5PcfroaUucEhiKyP/rHI038=; b=C10PpPZm9x75ah24qA6g5r9iryvEVvZ9aqpVwK88bhorgbJqY6I/POlt4YCU2vXIOJ rZv0KIi7ieDd2oI6UqTQhJdQExzSkZYYKpG85TI1Sxme6g6HpOD8Z3S5XjUPNBqvKp/p XWs6LbnN11tTYek8r/3/mKXlSrCCWLF3MEqjo= 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=YbKqEs282RlQzuKNBc6sBCAOjZpAje6uaYfq14CZyMbgwI9F8Wk2hS/Uk/0br5BO3B HsH1MqlPg28D3JOVcTvEtLCQHDv9iCE6+HyG88gXkL2Sv5CdXwDmgbg1Y1rpoUp2PrUo ABrp1L/U1ybAsJM0azG1sezqVIYY7MF1XHZls= Received: by 10.236.144.167 with SMTP id n27mr314442yhj.454.1303414260927; Thu, 21 Apr 2011 12:31:00 -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 x72sm975895yhn.1.2011.04.21.12.30.59 (version=SSLv3 cipher=OTHER); Thu, 21 Apr 2011 12:31:00 -0700 (PDT) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Thu, 21 Apr 2011 14:30:58 -0500 Date: Thu, 21 Apr 2011 14:30:58 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: openrc use flag Message-ID: <20110421193058.GB12112@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20110420172419.GC12411@linux1> <1303322561.22688.9.camel@tablet> <1303323632.9092.30.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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/WwmFnJnmDyWGHa4" Content-Disposition: inline In-Reply-To: <1303323632.9092.30.camel@localhost.localdomain> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: c5e0eec90569bc05f75f287ac1b32f5e --/WwmFnJnmDyWGHa4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 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 us= ed > > > 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 cause > > > 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. 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. > 2. I remember (from "logrotate" USE flag case) that using an USE flag > for simply installing or not a file is not usually preferred :-/ 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 William --/WwmFnJnmDyWGHa4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk2whfIACgkQblQW9DDEZTjzJwCdHrdTZ2aebZKH6bM73MemhIGr JegAn2UhGolmMsmdEPIq77N/Ms6GynaM =R7iC -----END PGP SIGNATURE----- --/WwmFnJnmDyWGHa4--