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 EA5931381F3 for ; Sun, 26 May 2013 01:52:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05228E0BF4; Sun, 26 May 2013 01:52:36 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 1D0ABE0BED for ; Sun, 26 May 2013 01:52:34 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtsKABK/CFFsr+Yy/2dsb2JhbABEvhECexdzgh4BAQU6HDMLGAkTEg8FJTeIEQzBIY1PEoJIYQONfogOhX6HF4FZgV6DEw X-IPAS-Result: AtsKABK/CFFsr+Yy/2dsb2JhbABEvhECexdzgh4BAQU6HDMLGAkTEg8FJTeIEQzBIY1PEoJIYQONfogOhX6HF4FZgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="14469510" Received: from 108-175-230-50.dsl.teksavvy.com (HELO waltdnes.org) ([108.175.230.50]) by ironport2-out.teksavvy.com with SMTP; 25 May 2013 21:52:26 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Sat, 25 May 2013 21:52:28 -0400 From: "Walter Dnes" Date: Sat, 25 May 2013 21:52:28 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] eselect init Message-ID: <20130526015228.GB12395@waltdnes.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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130525135739.2d302c1d@TOMWIJ-GENTOO> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 855e16df-af55-4c92-90fd-1f0b06bc90c4 X-Archives-Hash: e913c014b1f723b0ea0dcff2fe5b0b4f On Sat, May 25, 2013 at 01:57:39PM +0200, Tom Wijsman wrote > On Sat, 25 May 2013 12:25:03 +0200 > Peter Stuge wrote: > > > I would actually expect the change to take effect immediately. > > 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. Therefore implementing this would either be unclean or way to > complex. > > From all the methods discussed doing it on boot sounds the most sane. It has to be done *VERY* early at boot, or else we're back to the problem you described above. It's almost like a brain surgeon operating on himself. Here are a couple of "outside the box" ideas that haven't been mentioned yet... 1) boot into single mode before doing the changeover. Both grub and lilo support single mode boot as per... http://www.gentoo-wiki.info/TIP_Booting_into_single_user_mode 2) have the setup/switchover mechanism built into the Gentoo minimal install ISO. The advantage here is that if the system ends up no longer bootable off the harddrive, you can still boot from the ISO, chroot into the system on the harddrive, and send emails to the gentoo-user list asking for help . -- Walter Dnes I don't run "desktop environments"; I run useful applications