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 7A3431381F3 for ; Sun, 26 May 2013 09:23:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85CE2E0AF3; Sun, 26 May 2013 09:23:28 +0000 (UTC) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F915E0AE8 for ; Sun, 26 May 2013 09:23:27 +0000 (UTC) Received: from TOMWIJ-GENTOO ([94.226.55.127]) by juliette.telenet-ops.be with bizsmtp id gZPS1l00H2khLEN06ZPSSX; Sun, 26 May 2013 11:23:26 +0200 Date: Sun, 26 May 2013 11:21:25 +0200 From: Tom Wijsman To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] eselect init Message-ID: <20130526112125.6073ef93@TOMWIJ-GENTOO> In-Reply-To: <20130526105823.4d191bc7@gmail.com> References: <51A08A68.3020900@gentoo.org> <20130526084332.1a8afa69@gentoo.org> <20130526105823.4d191bc7@gmail.com> 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_/f4zmBFWWPuzESqrqKc.0N2q"; protocol="application/pgp-signature" X-Archives-Salt: 0ab723a1-568c-4a3b-8c49-52355757dbf9 X-Archives-Hash: 097b7df8b340d261ffe49c39e8a47015 --Sig_/f4zmBFWWPuzESqrqKc.0N2q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 26 May 2013 10:58:23 +0200 Robert David wrote: > > Increased complexity is never safer. And a wrapper means the > > additional complexity gets there every boot. And considering how > > the discussion goes, the wrapper will grow openrc-size in a few > > months.. > > I agree with this. But changing symlinks is not as easy on running > system (since it can cause inconsistence during rebooot). 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 > Thus this "eselect init" will let the user confirm and then trigger > reboot. I do not think that users will change init all the time, thus > make it better safe and more complex in this change is better than > check and wrap in all the boots. >=20 > Otherwise interesting is preinit handler in OpenWrt: > http://wiki.openwrt.org/doc/techref/process.boot > http://wiki.openwrt.org/doc/howto/notuci.config#etcpreinit > http://wiki.openwrt.org/doc/techref/preinit_mount In other words, if you go for the symlink approach you're just moving complexity to your system instead of into the boot; I don't see why a wrapper would grow to openrc size, that's just a bold exaggeration. I'd rather have a clean wrapper that just works than an unclean way to cover the reboot madness that comes along; forcing a reboot, really? --=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_/f4zmBFWWPuzESqrqKc.0N2q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBAgAGBQJRodQVAAoJEJWyH81tNOV9ez8H/36rusBp9vwgs8J2ZuEztJYa eLB2TMG4HxkWg0lhinAx8ut9i7gER6uWML23/XDLTqfKJNrQ68JHQ1OB/84h9+Zg QTRmgkhbzij5gEP2MUtG4z+e9PE/PDJCWf44UliprL9UO13k9W8x6hBstHSgxKlW p79brHDbmyomqNLo/JaWEK3+AQIHonw+60nCkYrksyAThAzYXCJ1EnInRUlFy5Uq yXpyVZfJirUtJpKckCP7JlOSkqBumXCw6IwPpj584BUbgRP3Xx7lG3W0FKTUK1gy LeylpPxkrucSBxIp5++nlexIaMYRWh3NexEYMHmbO/6zwFvu3RoxJKZ2/CnZ7cc= =RlhA -----END PGP SIGNATURE----- --Sig_/f4zmBFWWPuzESqrqKc.0N2q--