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 <gentoo-dev+bounces-45426-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QE7Ha-0000pT-CP
	for garchives@archives.gentoo.org; Sun, 24 Apr 2011 21:55:58 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5DA3C1C04B;
	Sun, 24 Apr 2011 21:55:44 +0000 (UTC)
Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41])
	by pigeon.gentoo.org (Postfix) with ESMTP id 1E7921C00E
	for <gentoo-dev@lists.gentoo.org>; Sun, 24 Apr 2011 21:55:16 +0000 (UTC)
Received: by wwi18 with SMTP id 18so949095wwi.4
        for <gentoo-dev@lists.gentoo.org>; Sun, 24 Apr 2011 14:55:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type:content-transfer-encoding;
        bh=pjKtGTMpv8HT1/LRuUaCv/F1V4HHiyPuRiAXT8iHgPc=;
        b=wlHDApim8glgzv4DV7TkpswSq27OrYaWO/ND70isCJCMy+jpbnLIrDe9dM7NqbIbeb
         EXyW6zuXHkamayQJPzeViK8JB44Hj6CaJj1fonc241yr9SJVq5D1iOOfWu1cqI2FtuYY
         4L8Ee9liU9nTYVQJwUxGcbReNu+mgvt/dEacU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=Lv35cqevrjxrfXmduGDjc6OmhQdG33XBkRwIYl+spnYv6+CFTf1a0gF5UnkNzwi5Jf
         uihe/yVUhwf5fAhUuxFWBdoj43A5TjhHaBLp+u1iFhrHgz0fg8xf1naLZEI8z4gksYyf
         QZS7o2/o6ZWkHPOa1rgRcsINc4ZwXgEp2CGgg=
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.216.82.68 with SMTP id n46mr3203520wee.57.1303682114812; Sun,
 24 Apr 2011 14:55:14 -0700 (PDT)
Received: by 10.216.161.72 with HTTP; Sun, 24 Apr 2011 14:55:14 -0700 (PDT)
In-Reply-To: <20110424213515.GB24011@linux1>
References: <20110424093630.6794a5cd@pomiocik.lan>
	<20110424213515.GB24011@linux1>
Date: Sun, 24 Apr 2011 16:55:14 -0500
Message-ID: <BANLkTinnPv-5mHBFr0qeWE7zSvuXsEhthQ@mail.gmail.com>
Subject: Re: [gentoo-dev] Installing systemd units with gx86 packages
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 1611d8eeda9b22b6ad4dd739026fda5f

On Sun, Apr 24, 2011 at 4:35 PM, William Hubbs <williamh@gentoo.org> wrote:
> On Sun, Apr 24, 2011 at 09:36:30AM +0200, Micha=C5=82 G=C3=B3rny wrote:
>> Fellow devs,
>>
>> I've started working on bringing systemd to Gentoo [1] lately,
>> and I think it is important to raise the aspect of systemd unit
>> inclusion in various packages in gx86 ASAP.
>>
>> The number of packages coming with systemd units is growing rapidly
>> recently, and that especially applies to freedesktop packages.
>> One side effect of that is that these packages treat systemd
>> as an automagic dependency, installing systemd units whenever its
>> pkgconfig file is installed. I already opened two bugs on that [2,3]
>> but there would be much more...
>
> 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.

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.
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). And finally, the idea
of systemd is to be a completely distro-agnostic init system, without
the  multiple failures of SysV, and without the one-company-rule of
Upstart; this seems to be actually working, hence a lot of downstream
packages are willing (and eager) to ship systemd unit files. The init
scripts belong to the packages, they know best how the
service/whatever needs to be run.

I'm using Gentoo+systemd since a couple of months, and it works
incredible well. And I really like the idea of freeing the rather
precious Gentoo-developers time off of writing init scripts.

Just my 0.02 ${CURRENCY/100}.


> William

--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico