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 9A5D61391DB for ; Thu, 20 Mar 2014 20:23:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74D47E0BD0; Thu, 20 Mar 2014 20:22:57 +0000 (UTC) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A575E0BAF for ; Thu, 20 Mar 2014 20:22:55 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id m15so983742wgh.15 for ; Thu, 20 Mar 2014 13:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NnUlPRiotWwpzHYHMKdr6m/5dAcKnUnfqLjaVJs/raY=; b=serK0BWKuvd21+1VY0pAhxPJpeV9qWatEB/+Wc5W+ekxFKNsPH5cngS+UIAFoTHZKN g3Ac1YHOCRcAZ1azCM6jSLGLjk1hWmCSI3dkpkX31i9KojFb/HoyWPWILMo4unkbzIq9 DaxFCX/2j2eTwuMUDhb/D98yIXdJ/oSz0NM8kXUkG7KMrUbbxiRsAjkH5H/2KQNbpmgM jXNpPi/iWBeYqlBqQLGjXKSsNpgPG1mQL26aMNw7H4tUhcP2Y7PoUAJYEks+QfT5x/RL SS95TApk79p1+VHWyyLfbj9ofdnXUpM+6fc3NJeh/VXnxssAM0aR9bLObLp50L9SNDJ2 uDQg== X-Received: by 10.194.62.206 with SMTP id a14mr36525065wjs.26.1395346970044; Thu, 20 Mar 2014 13:22:50 -0700 (PDT) Received: from [172.20.0.40] (196-210-126-101.dynamic.isadsl.co.za. [196.210.126.101]) by mx.google.com with ESMTPSA id 12sm7666846wjm.10.2014.03.20.13.22.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 13:22:49 -0700 (PDT) Message-ID: <532B4DFE.9030808@gmail.com> Date: Thu, 20 Mar 2014 22:22:22 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: Providing a path for systemd on gentoo - 'profiles', or 'eselect module'? - WAS Re: [gentoo-user] Debian just voted in systemd for default init system in jessie References: <52FF84CE.2050301@libertytrek.org> <20140218210633.d25f4bb88b3891f7c0ed11c6@gmail.com> <20140218220712.9ec8d2529ef49d743b3bc826@gmail.com> <5304576E.4000704@sporkbox.us> <5304A5DE.4050905@libertytrek.org> <5305FACC.8080705@libertytrek.org> <530646EA.4020300@libertytrek.org> <5306603C.1040602@libertytrek.org> <53076367.6040000@libertytrek.org> <20140221215826.23ee1df2@digimed.co.uk> <5308D22C.4020900@libertytrek.org> <5308E282.7020602@gmail.com> <20140320195733.7cd6cfe3@gentoo.org> In-Reply-To: <20140320195733.7cd6cfe3@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9f4e0867-029a-474d-af61-2d02bcd55377 X-Archives-Hash: c3ab1ee822741ef64a5698ead62460b4 On 20/03/2014 20:57, Tom Wijsman wrote: > On Sat, 22 Feb 2014 19:46:42 +0200 > Alan McKinnon wrote: > >> eselect manages config options between different implementation of a >> thing. Usually by tweaking symlinks. Switching init OpenRC <-> SystemD >> involves resetting uSE flags and recompiling some fundamental stuff. >> That exercise is unlikely to ever go into eselect. > > Well, running systemd now I can reboot into OpenRC; it just works. How is this done? > >> The devs on gentoo-dev already nuked the idea of a gentoo profile as >> such, it's not worth the effort and causes an explosion of profiles. > > It's happening, `find /usr/portage/profiles/ -name '*systemd*'`; does > it have any consequences that are worth thinking through? As it stands now exactly, none. I only checked one profile: default/linux/amd64/13.0/desktop/kde/ and that consists of one file - parent. It lists .. and targets/systemd as parents. Which is easy enough as long as the idea of systemd with kde stays exactly like that - the strict union of kde and systemd profiles. Right now, a few line script can create those profiles, will it always be that way? What are the chances of LXDE and/or XFCE getting their own profiles like Gnome and KDE? If they do, and they warrant a systemd sub-profile, then the number of updates increases quite a lot. I've seen this kind of thing happen many times where the number opf combinations quickly gets out of control and becomes scary maintenance. It's a pity Gentoo doesn't support multiple profiles (just keep enabling extra till you get what you want or portage finds a conflict). That would make new profile settings much easier. It's probably not supported for the same reason most languages don;t go multiple inheritance. Oh well >> Conceptually, it is rather similar to switching between nouveau and >> nvidia. That doesn't have eselect support[1] or profiles. > > Well, running NVIDIA now I can reboot with a simple script[1] put > in /etc/local.d/nvidia.start (with execute permission); this works for > me on both OpenRC and systemd, I'd say it is easy to do. Perhaps it can > even be made more easy by rewriting the Xorg configuration to be device > aware and therefore not needing the steps shown in this script. > > [1]: https://gist.github.com/TomWij/a13abacfb74999c10957 Yeah, you'd really need to make it work with one unchanging xorg.conf. And that first line of code - relying on "-nvidia" being in /proc/cmdline - wtf is that? :-) Such, um, butcher hacks work OK on your machine but sure ain't production ready -- Alan McKinnon alan.mckinnon@gmail.com