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 883CE1381F3 for ; Sat, 25 May 2013 15:42:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A29FFE0BC4; Sat, 25 May 2013 15:42:17 +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 B5318E0BC1 for ; Sat, 25 May 2013 15:42:16 +0000 (UTC) Received: from [192.168.0.102] (dynamic-adsl-84-220-77-8.clienti.tiscali.it [84.220.77.8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lu_zero) by smtp.gentoo.org (Postfix) with ESMTPSA id 7793433DFA8 for ; Sat, 25 May 2013 15:42:15 +0000 (UTC) Message-ID: <51A0DBD7.3040906@gentoo.org> Date: Sat, 25 May 2013 17:42:15 +0200 From: Luca Barbato User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130411 Thunderbird/17.0.5 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> <1369480416.6719.1.camel@localhost> In-Reply-To: <1369480416.6719.1.camel@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: a08c5ca1-590a-488f-95d2-d76a9f467309 X-Archives-Hash: 9022046712cec4f673252853ef95349b On 05/25/2013 01:13 PM, Pacho Ramos wrote: > El sáb, 25-05-2013 a las 11:54 +0200, Luca Barbato escribió: >> Hi, since the whole discussion got somehow sidetracked on where and if >> to install for everybody the rc system specific files for everybody >> (that should be an implementation detail for the specific dohelper >> IMHO), I'm back to the other part of it: switching the actual init >> implementation. >> >> # WHY (not just edit your bootloader) >> >> Since efi at least some people started to put in the kernel the bootargs >> and we have at least few new options brewing for init, some are >> small impact (bootchar, bb-init-openrc and runit-openrc) some are more >> invasive (runit and systemd). > > I use e4rat and, for that, I need to add > init=/sbin/e4rat-preload > > to my grub.conf, I guess this wouldn't change with this, no? :/ mostly you would be able to do # eselect init addon e4rat instead. But the whole eselect init should be an opt-in till we are 100% sure it covers the usual scenarios. The basic idea is that you would have a wrapper (shellscript or binary) that just reads from a known location what to run once and what to run the following times, something along the lines of if (switching) do_switch else exec $real_init With all the possible failovers. lu