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 26FC7138F15 for ; Sat, 22 Feb 2014 17:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB0ECE0B77; Sat, 22 Feb 2014 17:47:01 +0000 (UTC) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFB91E0B65 for ; Sat, 22 Feb 2014 17:47:00 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id cc10so1787070wib.11 for ; Sat, 22 Feb 2014 09:46:59 -0800 (PST) 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=C2X3YHMw1wg5bT4oif1eA25137m+w1TudBVFBDfMpx4=; b=I2u7hcZqO8SlLuKliKXCynhEUp2fmc8+wWdeZFqQQSUbephPLffibVK8pDdH3+wGZ2 cmB/VtNnQj5INhaUKKWnU6FvDib1mWTb6Fg15GPN4SeZBPy/TmeFWAOIisxfKqIHY3Ni vGw8W7NxNSf8ZXU5v0iT19p+57V211sMafny+DvFmHhyd+37gZxsluMMPuWL1gL5kLkA rtppiUBcKajW690s0pQ4UdPw1sph3T+eNa6uRP4fxUUH6ALQTUDM2u23q7a+f0V1rQDo 5tzVkN7lVft7e52VV+ZR7A/fCSK+92NNyBCGGw0IVW/HluS0c4SsVcIOO/QtsVIpJeS4 Nmng== X-Received: by 10.180.103.227 with SMTP id fz3mr7536333wib.29.1393091219296; Sat, 22 Feb 2014 09:46:59 -0800 (PST) Received: from [172.20.0.40] (196-210-127-208.dynamic.isadsl.co.za. [196.210.127.208]) by mx.google.com with ESMTPSA id t5sm26500248wjw.15.2014.02.22.09.46.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 22 Feb 2014 09:46:59 -0800 (PST) Message-ID: <5308E282.7020602@gmail.com> Date: Sat, 22 Feb 2014 19:46:42 +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> <5302c048.462f0e0a.3d3e.5888@mx.google.com> <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> In-Reply-To: <5308D22C.4020900@libertytrek.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 95c8de4e-430c-4a90-909e-9d4e879d2ada X-Archives-Hash: 310d08b6667ac7e2641ffe46ca768296 On 22/02/2014 18:37, Tanstaafl wrote: > On 2014-02-21 4:58 PM, Neil Bothwick wrote: >> On Fri, 21 Feb 2014 09:32:07 -0500, Tanstaafl wrote: >>> Ok, so, since it really is so simple, wouldn't it be easier to >>> implement this as an eselect module then, as opposed to creating a >>> bunch of separate profiles? > >> profiles handle USE flags, eselect does not. Of course, you can use >> eselect to change profiles :) >> >> It's not as complex as creating a lot of different systemd profiles >> because of inheritance. > > Thanks Neil, but... what are you suggesting then? That it would have to > be done as profiles, but it wouldn't be really complicated? Or maybe > that it would be a combination of profile selection and... something > else (new eselect init module)? > > Remember, I want all of this to coalesce into an enhancement/feature > request for gentoo to be able to provide a sound, sane way to manage the > idea of switching init systems. eselect is not going to work and neither is a Gentoo profile. 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. 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. Switching to and from systemd is a few simple steps: - Change some USE - Recompile some stuffs - maybe read a howto or two - in all likelihood reboot Conceptually, it is rather similar to switching between nouveau and nvidia. That doesn't have eselect support[1] or profiles. To switcvh to and from >>> I'd also suggest throwing in a test for current running kernel config, >>> to make sure it fully supports booting with systemd, and maybe a new >>> emerge command that can also be maintained to make sure that *all* >>> necessary packages are rebuilt? > >> That's already taken care of, the systemd ebuild checks your kernel >> config as part of the pre-emerge checks, nothing happens until you have a >> suitable kernel. > > Ok, excellent... > > > -- Alan McKinnon alan.mckinnon@gmail.com