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 C32B31381F3 for ; Sun, 26 May 2013 14:58:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8507E0D4B; Sun, 26 May 2013 14:58:22 +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 C29A8E0D41 for ; Sun, 26 May 2013 14:58:21 +0000 (UTC) Received: from [192.168.1.160] (bas1-ottawa09-2925287262.dsl.bell.ca [174.92.87.94]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id DDD8D33DF5F for ; Sun, 26 May 2013 14:58:20 +0000 (UTC) Message-ID: <51A22310.70202@gentoo.org> Date: Sun, 26 May 2013 10:58:24 -0400 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130523 Thunderbird/17.0.6 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] eselect init References: <51A08A68.3020900@gentoo.org> <20130526084332.1a8afa69@gentoo.org> <51A1DC0C.2070706@gentoo.org> <20130526125742.4584d094@gentoo.org> <51A1F493.90101@gentoo.org> In-Reply-To: <51A1F493.90101@gentoo.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Archives-Salt: 335faea2-3940-4c99-8247-bc6864096817 X-Archives-Hash: a3098cb22e87c467e4cd3962b33a1cc0 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 26/05/13 07:40 AM, Luca Barbato wrote: > On 5/26/13 12:57 PM, Michał Górny wrote: >> You are telling me that a wrapper, a thing that gets executed >> *every* boot needs to do some random magic to know which init >> system was in use and which one is supposed to be in use, and >> then conditionally move around configuration files necessary for >> it to run. This is just *INSANE*. > > I like to think it normal and the wrapper doesn't need to run every > time but only when a switch had been requested. And only if you > prefer doing the switch at boot time instead than at shutdown. > The way it's being proposed (and please correct me if i'm wrong), the wrapper is a direct replacement binary (small C program) for all init systems, and would based on some configuration file or whatnot determine and exec the init system it's supposed to -- and make any other necessary changes too, such as switching /etc/inittab) I don't know (outside of a script in the initramfs) how this would otherwise be handled to cover all cases. I am curious though, if you see a way to do this otherwise, what the implementation would look like? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlGiIxAACgkQ2ugaI38ACPDrbAD/exZAI4utNuOBAMzdkeYj8JgB lmeOg+G892g4yYMa6cIBALEQMH3bliQ0hF3HEtJezdbzG4/XkaEdGIjM+gscxF79 =9J3a -----END PGP SIGNATURE-----