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 F28D91381F3 for ; Sun, 26 May 2013 02:03:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC32AE0BFD; Sun, 26 May 2013 02:03:00 +0000 (UTC) Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97429E0A7D for ; Sun, 26 May 2013 02:02:59 +0000 (UTC) Received: (qmail 3754 invoked by uid 501); 26 May 2013 02:02:56 -0000 Message-ID: <20130526020256.3753.qmail@stuge.se> Date: Sun, 26 May 2013 04:02:56 +0200 From: Peter Stuge To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] eselect init Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <51A08A68.3020900@gentoo.org> <20130525102503.23674.qmail@stuge.se> <20130525135739.2d302c1d@TOMWIJ-GENTOO> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: <20130525135739.2d302c1d@TOMWIJ-GENTOO> X-Archives-Salt: cc29d359-c9f9-4b2e-b6c1-b9a5093dbc27 X-Archives-Hash: f7e975e15a50f82dcc462220aa14b668 --iBwuxWUsK/REspAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tom Wijsman wrote: > > I would actually expect the change to take effect immediately. >=20 > Then how would you be able to shutdown / reboot your system in a clean > way? The premise here is that when you boot with an init system you > must shutdown with that same init system, you can't just start one init > system and expect the other init system to cleanly shut down its > services. Taking effect immediately of course does not mean that if I booted using systemd and switched to openrc that systemd will be killed. That idea makes absolutely no sense, it simply can not work. In theory systemd could support execl() sysvinit and vice versa, but I find that unlikely. The "take effect immediately" I believe that you understood me to mean is simply impossible. By take effect I mean that the filesystem should be modified in such a way that the next boot will use what I selected. No further action which could fail should be required beyond the eselect command. Unless the eselect command has successfully modified the filesystem I can't really know that my system will boot with what I have selected, ie. eselect does not provide any useful feedback, because it can not. //Peter --iBwuxWUsK/REspAd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFRoW1QhR3Q0dhIfEgRAgcQAKCPHDr8TzIlWHDtd7VbMpuOnw9L9wCg4eUx wz7NV0Kn1/ZLL1m8cnpZ3sM= =+/Fw -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--