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 AE0A91381F3 for ; Sun, 26 May 2013 11:48:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 105ADE0CE0; Sun, 26 May 2013 11:47:50 +0000 (UTC) Received: from jacques.telenet-ops.be (jacques.telenet-ops.be [195.130.132.50]) by pigeon.gentoo.org (Postfix) with ESMTP id DCE5AE0CD5 for ; Sun, 26 May 2013 11:47:48 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by jacques.telenet-ops.be with bizsmtp id gbnn1l00n2khLEN0JbnnwE; Sun, 26 May 2013 13:47:47 +0200 Date: Sun, 26 May 2013 13:45:43 +0200 From: Tom Wijsman To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] eselect init Message-ID: <20130526134543.10eb6d93@TOMWIJ-GENTOO> In-Reply-To: <20130526120921.6d9a1dce@gentoo.org> References: <51A08A68.3020900@gentoo.org> <20130526084332.1a8afa69@gentoo.org> <20130526105823.4d191bc7@gmail.com> <20130526112025.7bf00d3f@gentoo.org> <20130526114538.315f106a@TOMWIJ-GENTOO> <20130526120921.6d9a1dce@gentoo.org> 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_/GNl0hWdwIiRnM7Dj+S_3NqC"; protocol="application/pgp-signature" X-Archives-Salt: 447aa324-3b52-452a-88ae-ecfb893e2e09 X-Archives-Hash: ade9c899c0d5bf7fb522fe2bd2102fe1 --Sig_/GNl0hWdwIiRnM7Dj+S_3NqC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 26 May 2013 12:09:21 +0200 Micha=C5=82 G=C3=B3rny wrote: > > Easy isn't always good. It's not atomic since you can't reboot and > > because of that I wouldn't call it smooth either. >=20 > Can't you? How come? Because it expects the init system you boot with to be present. > > > > I think that safest way not using wrapper is to stop all > > > > services and keep only mounted /, than change things > > > > (symlinks,configuration update) and reboot.=20 > > >=20 > > > This can be done two ways. > > >=20 > > > One is hacking into init (RC) reboot procedure. It's fragile, it > > > needs to be fit into the right moment and I'm not sure if all > > > inits will handle this without actually needing to patch the > > > code. And in the end, the init gets replaced before init stops > > > working anyway. > >=20 > > You're making things way more complex than a wrapper would do. I'm > > not a fan of using the words "hacking", "fragile" and "not sure" for > > selling an approach; so, why were you suggesting the symlink > > approach? >=20 > Don't mix the two mails. Don't read it as mixed, it is not; I take it that you agree with me as you choose not to answer to it. If you meant to advocate your own solution, expanding the other solutions is going to make us forget about what you were suggesting; you're creating your own mixture. > I am showing how fragile the solution suggested by Robert is. While > you seem to be replying to every mail possible to repeatedly advocate > your idea. And I am showing how fragile your expansions to Robert's solution are; thanks for clarifying you meant to point out its fragile, that was not entirely clear from your response and I assumed another intention. We are on the same line here, in fact you have replied more in this sub thread than I did. The wrapper is not my idea; despites my advocation... --=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_/GNl0hWdwIiRnM7Dj+S_3NqC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBAgAGBQJRofXqAAoJEJWyH81tNOV9d0QIAIkL2ml07Z5tenzFf64NIo2Z 9SpuIbdkTDQd/gSP8hzxNdSerC2sKLqdEC4NUhTK9BRivvqk2f/WqBIi3bUQTCGI Wml0Uncgyd9V0iXz18YIZX+muQEVAEoDRcVWkcsSv+NXYHuX//xbZgwI6E4J5sCz AYj/6/7R5XOv+bvro6G51RAN+DgEPtZCXSvy5THrBRfYe1i0fIVIivDv5Z9SCOIg JEHwEKtvDU+j5h95+idTThK9MW3sHIv7ZlsJx7mwhpRheP5cj7vXH9H78oBM1GSZ 0sgZ+O+ZGeqlEszB4G+l4r0QORSl1pDVLYb5YLjFomvmL89EeTaHkwjb8C99sbQ= =B+FJ -----END PGP SIGNATURE----- --Sig_/GNl0hWdwIiRnM7Dj+S_3NqC--