From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 808731381F3 for ; Wed, 8 May 2013 16:58:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAE77E0856; Wed, 8 May 2013 16:58:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 056E9E07F5 for ; Wed, 8 May 2013 16:58:31 +0000 (UTC) Received: from [130.149.91.41] (shishapangma.kbs.tu-berlin.de [130.149.91.41]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: chithanh) by smtp.gentoo.org (Postfix) with ESMTPSA id DF6FB33D3D7 for ; Wed, 8 May 2013 16:58:30 +0000 (UTC) Message-ID: <518A8430.9060408@gentoo.org> Date: Wed, 08 May 2013 18:58:24 +0200 From: =?UTF-8?B?Q2jDrS1UaGFuaCBDaHJpc3RvcGhlciBOZ3V54buFbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Making systemd more accessible to "normal" users References: <518A71AA.8070101@gentoo.org> <518A7816.5060500@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 756957bb-c64b-4cae-a66f-e744094826f6 X-Archives-Hash: 24607a1f3235c232167062fdbf4e8421 Mike Gilbert schrieb: > On Wed, May 8, 2013 at 12:06 PM, Chí-Thanh Christopher Nguyễn > wrote: >> Fabio Erculiani schrieb: >>> Or perhaps all these man pages, I don't need man pages locally but >>> still most ebuilds do install them. What do we do? >> Users who don't want them set FEATURES="noman". >> >>> Let's be serious here. >> I assure you that I am fully serious. >> >>>> Another option would be to add a "dounit" command to a future EAPI (like >>>> doinitd today) and make portage install them unless FEATURES="nounit" >>>> (like nodoc/noinfo/noman today). >>> Why all this mess!? >> Please elaborate why you think that a "dounit" command is a mess. >> > A working solution right now would be to set > INSTALL_MASK="/usr/lib/systemd/*". Yes, I mentioned INSTALL_MASK in a previous reply. It is however unwieldy and has the potential of unintended side effects. This is e.g. why I chose a USE=savedconfig approach for sys-kernel/linux-firmware. > If you want to formalize this into > a portage feature, I have no objection. Ok, done: https://bugs.gentoo.org/show_bug.cgi?id=469086 > The problem with a helper function is that it would miss cases where > the upstream build system actually installs the units. I think that is another issue, similar to packages directly installing init scripts or ldconfig or .desktop files. Sometimes this is ok, and sometimes maintainers prevent that. Not sure what would be the preferred way for systemd units. Best regards, Chí-Thanh Christopher Nguyễn