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 163E71381F3 for ; Sun, 26 May 2013 23:55:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23CBCE0C53; Sun, 26 May 2013 23:54:46 +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 42446E0C46 for ; Sun, 26 May 2013 23:54:45 +0000 (UTC) Received: from Nyx.local (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 2635D33DF48 for ; Sun, 26 May 2013 23:54:43 +0000 (UTC) Message-ID: <51A2A0C1.1080302@gentoo.org> Date: Mon, 27 May 2013 01:54:41 +0200 From: Luca Barbato User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Thunderbird/22.0 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> <20130525102503.23674.qmail@stuge.se> <51A10C2E.2080903@gentoo.org> <51A21883.4030402@gentoo.org> In-Reply-To: <51A21883.4030402@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 49f23d12-e191-457d-9ec4-2425c82135fa X-Archives-Hash: fd524864969284620e6696c3d2356da5 On 5/26/13 4:13 PM, Ian Stakenvicius wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 25/05/13 03:08 PM, Matthew Thode wrote: >> On 05/25/13 05:25, Peter Stuge wrote: >>> Luca Barbato wrote: >>>> - init gets effectively switched only at boot/reboot >>> >>> Please not on reboot, because an unclean shutdown shouldn't leave >>> the system in limbo. >>> >>> On boot could work, except that it does add more steps (= more >>> fragility) to the boot process, which I think everyone wants to >>> avoid. >>> >>> I would actually expect the change to take effect immediately. >>> >>> >>> //Peter >>> >> the final action before / is remouted ro at shutdown would make >> sense to me. It's either that or first action at boot. >> > > First action at boot, without an initramfs, is too late isn't it? bootchart2 shows that is quite possible and working fine for it =) The current mode to switch init manually for my use-case is to drop to single user, do your stuff, reboot or reload init if the init or the operating system supports it. Drop to single user is quite the same as rebooting anyway. lu