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 1QEGMz-0005Hr-Ds for garchives@archives.gentoo.org; Mon, 25 Apr 2011 07:38:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E490B1C0D5; Mon, 25 Apr 2011 07:38:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7CE471C003 for ; Mon, 25 Apr 2011 07:37:36 +0000 (UTC) Received: from pomiocik.lan (77-253-26-88.adsl.inetia.pl [77.253.26.88]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 718CB1B403C; Mon, 25 Apr 2011 07:37:34 +0000 (UTC) Date: Mon, 25 Apr 2011 09:37:36 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: williamh@gentoo.org Subject: Re: [gentoo-dev] Installing systemd units with gx86 packages Message-ID: <20110425093736.1c4bee70@pomiocik.lan> In-Reply-To: <20110424221110.GB24437@linux1> References: <20110424093630.6794a5cd@pomiocik.lan> <20110424213515.GB24011@linux1> <20110424221110.GB24437@linux1> Organization: Gentoo X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.3; x86_64-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: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/BB.ym1aigwoSZU_JOy/9CM2"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: ddb44746d39995c449e8b80328d0a686 --Sig_/BB.ym1aigwoSZU_JOy/9CM2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 24 Apr 2011 17:11:10 -0500 William Hubbs wrote: > On Sun, Apr 24, 2011 at 04:55:14PM -0500, Canek Pel=C3=A1ez Vald=C3=A9s w= rote: > > > I think the better way to handle this will be to patch the build > > > systems to not make this an automagic dependency and send those > > > patches upstream. > > > > > > http://www.gentoo.org/proj/en/qa/automagic.xml > > > > > > I'm not a member of qa, but I agree with this position on > > > automagic dependencies. > >=20 > > I'm speaking as a simple user, but I don't think the systemd unit > > files qualify as automagic dependencies as described by the QA > > document. In the first place, as Michael pointed out, we can disable > > them with --without-systemdsystemunitdir, so there is no magic at > > all. >=20 > Ah ok, I guess I missed that. The qa document says there is an > automagic dependency if the builder can't turn this off. But, you are > asying that the builder can turn it off with the --without option. >=20 > In that case, the dependency is not automagic. I'm sorry I didn't explained that clearly. The fact is that it becomes automagic if builder doesn't care about turning it on or off which was the case for many recent fdo package bumps. > > In the second place, the usual Gentoo way of enabling OpenRC > > services is to *add* init.d scripts in the ebuild, and this is > > completely orthogonal to a package installing a systemd unit file > > (the presence of the later does not matter to OpenRC at all). >=20 > This is another topic I may bring up at some point, if you are using > systemd, etc, and openrc is not even installed on your system, do you > need /etc/init.d at all? Once openrc goes stable, I might bring that > up for discussion. I'd say INSTALL_MASK, again. Although it'd be hard to grab all udev rules and other junk like that, it would work fine with most of the scripts. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/BB.ym1aigwoSZU_JOy/9CM2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk21JMMACgkQnGSe5QXeB7tENACaArv+6n08TbsW4PmrPewVJd54 y0QAoNZ3dFZrjdr4ICFoQL4mOGJP0xt9 =PcZ3 -----END PGP SIGNATURE----- --Sig_/BB.ym1aigwoSZU_JOy/9CM2--