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 658CE1381F3 for ; Tue, 28 May 2013 12:15:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08A73E09C6; Tue, 28 May 2013 12:15:20 +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 CBDEEE09B6 for ; Tue, 28 May 2013 12:15:18 +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 C72B633DE10 for ; Tue, 28 May 2013 12:15:17 +0000 (UTC) Message-ID: <51A49FD9.2030907@gentoo.org> Date: Tue, 28 May 2013 08:15:21 -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> <51A22310.70202@gentoo.org> <51A42ABB.7090408@gentoo.org> <20130528061933.325d7d0f@gentoo.org> <51A4360D.7040204@gentoo.org> In-Reply-To: <51A4360D.7040204@gentoo.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Archives-Salt: 43adbc57-eaea-4bee-a4a3-f6a69b5ffdf3 X-Archives-Hash: ee13b6500c973b275d2802ce097946cc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 28/05/13 12:43 AM, Luca Barbato wrote: > On 5/28/13 6:19 AM, Michał Górny wrote: >> And you actually make the boot depend on: >> >> 1) valid /bin/sh > > If it doesn't exist you have a few order of magnitude bigger > problem. > >> 2) valid /etc/switch-init which would not interfere with boot >> process. > > I guess if you want to switch init system you need that =) > >> With switch-init being executed as a shell script, it can do >> anything. > > Yes and that's the beauty of it. > >> And I wouldn't be surprised if you made it do various things >> you'd like to be done. > > I would be surprised if I'd make it do various things I won't like > to be done, surely a possibility, albeit unlikely. > OK -- so, given how very simple this wrapper is, and likewise how simple the switcher script would probably be to write, what's the goal of this whole thread, exactly? It doesn't sound like this is something complicated that we'd need to actually provide via an ebuild or integrating patches in other init-system ebuilds anymore... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlGkn9kACgkQ2ugaI38ACPD1bwD+IaoJ0yM2nyTt8vhICF+nzhQN CjnLL3yU1LV9qWmwbfUA/jwO4RiTTFKHzoKLn0NHZV2ZqO1y2dbXfzWyuoxz17Lc =oVXb -----END PGP SIGNATURE-----