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 17B981381F3 for ; Wed, 29 May 2013 08:55:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AAA6E0AC2; Wed, 29 May 2013 08:54:59 +0000 (UTC) Received: from jacques.telenet-ops.be (jacques.telenet-ops.be [195.130.132.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 749F6E0A93 for ; Wed, 29 May 2013 08:54:58 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by jacques.telenet-ops.be with bizsmtp id hkux1l0072khLEN0JkuxrC; Wed, 29 May 2013 10:54:57 +0200 Date: Wed, 29 May 2013 10:52:49 +0200 From: Tom Wijsman To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Switchup-mode and boottime selector? Was: eselect init Message-ID: <20130529105249.433e57f0@TOMWIJ-GENTOO> In-Reply-To: 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> <20130527224021.GA18963@waltdnes.org> <20130528135619.44259b60@TOMWIJ-GENTOO> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-pc-linux-gnu) 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; boundary="Sig_/nwvmGTJbOgaCuNg_2EGK1nB"; protocol="application/pgp-signature" X-Archives-Salt: 64eef149-5b45-48b3-b3df-2636b825ed5d X-Archives-Hash: 1566e6446322c38a2c357bca25bb0cb5 --Sig_/nwvmGTJbOgaCuNg_2EGK1nB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 29 May 2013 00:36:58 +0000 (UTC) Duncan <1i5t5.duncan@cox.net> wrote: > 3b) Except... at that point root isn't writable Let me stop you here. Does it need to be writable at that point? We're reading the path of the init file to boot from a file, we start the executable at that path; no writes are involved here. The only problem left here is that some init systems need a specific version of the inittab file, although this can likely be changed in late shutdown as the only exception to this approach. It sounds very feasible for init systems that are an exception to just being able to switch init alone or have conflicting files to fix up whatever is inconsistent; either by scheduling changes till when the disk is writable, or by doing it on shutdown... > But it occurred to me that we actually do have a demonstrated > workable and long used in actual practice exception to the normal > boot case as precedent, where such maintenance tasks traditionally > occur, single user mode. Iff nothing else is feasible enough, this makes a lot of sense to me. > [initr* SNIP] Having an initr* as a requirement for being able to switch init system is maybe a bit too much to ask; same as above, iff nothing else ... > 4) Finally, the fact that each init-system package gets to control > its own switcher-mode script keeps control of it with the init-system > package maintainers, allowing them to choose as complex or simple a > script as they need/wish, reasonably addressing the whole maintainer > control problem so evident in another current thread. We should avoid maintenance burden where we can; we can't also force things upon them, as you can see in other ML threads here. Init systems are quite necessary in Gentoo, let's not risk losing their maintainers. That being said; if there are exceptions to the approach we end up taking, we need to put these somewhere. It kind of depends on how we will integrate the init system approach in the Portage tree. --=20 With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : TomWij@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D --Sig_/nwvmGTJbOgaCuNg_2EGK1nB Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBAgAGBQJRpcHlAAoJEJWyH81tNOV92I8H+wSprDbNO5wVqBlQU09cPvUx PcNIc/NxnGHDL3IwCqpWZFQiPVtzHnQJZmN9kJkAgsEg5VZv1iZDoZEWOzHYZIlR D0Io4m4AYqBP2oFJMWxtAzeKL7xGe3wb29jgE82oPtn+c1325yG7ei32pxFXNkLT hliahFrlKW80SLteo4cBL7oS/5g0olkaV4LrxY4k2doqW0UjKT/tmNgddKeRSrmZ X3G2trJiGKz7mgodJ38Jhv8UGbzDH47PxCBWaBOTChSpzKt1fjpXIzrgvaQpkwHc OXSsIXYqfjSBqKcPQAnufkZp1pDKOLbdAZR5PS8U2o7IbdhssRY8V5QqNFMKDi0= =mimi -----END PGP SIGNATURE----- --Sig_/nwvmGTJbOgaCuNg_2EGK1nB--