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 99D8E1381F3 for ; Sun, 2 Jun 2013 22:35:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55B31E0973; Sun, 2 Jun 2013 22:35:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EA63E0933 for ; Sun, 2 Jun 2013 22:35:41 +0000 (UTC) Received: from [192.168.0.95] (dynamic-adsl-84-220-80-211.clienti.tiscali.it [84.220.80.211]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lu_zero) by smtp.gentoo.org (Postfix) with ESMTPSA id E275E33DC17 for ; Sun, 2 Jun 2013 22:35:38 +0000 (UTC) Message-ID: <51ABC8B1.7070105@gentoo.org> Date: Mon, 03 Jun 2013 00:35:29 +0200 From: Luca Barbato User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130411 Thunderbird/17.0.5 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Re: eselect init References: <51A08A68.3020900@gentoo.org> <20130601092355.GB25065@rathaus.eclipse.co.uk> <51AB0D39.8050506@gentoo.org> <20130602182038.GA4485@rathaus.eclipse.co.uk> In-Reply-To: <20130602182038.GA4485@rathaus.eclipse.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7315d9b8-e32c-4d06-9de5-57030e7ba029 X-Archives-Hash: 93199523e305f91c9a593f1051de866a On 06/02/2013 08:20 PM, Steven J. Long wrote: > On Sun, Jun 02, 2013 at 11:15:37AM +0200, Luca Barbato wrote: >> On 06/01/2013 11:23 AM, Steven J. Long wrote: >>> That's not an argument for using a symlink switcher or the >>> equivalent across the board, by any means. >> >> Your opinion. > > That's not an argument for it either. Had been explained in the thread, please read it. >>> Firstly, we should be recommending people install Gentoo with enough >>> flexibility to configure and use their system how they choose. In the >>> UEFI arena, why not simply recommend something like rEFIt instead of >>> making everyone go through a load of development effort, to restrict >>> us all to a crippled use-case? >> >> Beside rEFIt being deprecated and rEFInd being in early stage of >> development (thus working great on some platforms and not working at all >> on some other) and with a good chunk of documentation to read before >> being able of deploying it? > > The typical thing Gentoo users get told is "this is a new thing, it will > take some time to work out, bear with us" as their production servers go > tits-up around them. So in this case too, work with upstream to implement > better solutions you, and the wider ecosystem, can all use. I'm afraid you never used those nor you are in one of those situation in which you have less options. > And STILL the best interim solution till your EFI setup has a bootloader. Again you should read the whole thread, please do, the whole eselect init stuff should stay opt-in for the time being so all this discussion is close to pointless. Consider this email a friendly warning, please do not pollute the Gentoo media with pointless email when you had been already politely told that your concern had been addressed in the previous email in the thread. > You're free to work on whatever you want. You just haven't made any > case for why the rest of the ecosystem should be crippled to allow for a > use-case that would be better served by an existing, far more robust > solution. Had it been the case we wouldn't had spent some weeks picking our brains on it. > Then it can be runit or whatever else takes your fancy. You are ignoring > the point of that paragraph though: someone has to put the install together. > > Or it isn't a Gentoo install. And you seem to miss the point that all you are telling had been discussed, taken in consideration and in some part agreed with already... > Wrt to the first, funnily enough the kernel developers have been here before, > just like they had with ethN and wlanN. It's a basic requirement for developing > an OS that you be able to switch init and fallback to other options. Again you didn't ready or you forgot. I said already I don't care about systemd many times, yet you failed to remember that. My specific use-case would require a trip to single mode and a second reboot, the way I want to do spares that. On an EFI-stub only system it would require at least a kernel rebuild or a trip to the efi shell if available. > Honestly, my goal is a saving of time so people can focus on making the > eselect module work properly, and be of real value to an end-user who wants > to switch init. To not make this a waste of time here a summary of the whole thing: - eselect init will be opt-in for the time being, people can be left on their own tools if the want it - the default init will stay sysvinit. Discussion ongoing if is better to have it installed in a secondary fallback path is open (e.g. /bin/init). - I still need to send patches to busybox and sysvinit upstream to add a command line switch to locate the inittab. - people wanting to switch init or enable/disable init addons using eselect init might have to refer to /sbin/einit or such custom path (assuming we fail to come to an agreement regarding /bin/init) The wrapper in /sbin/init is mostly needed to get to the point of a clean reboot. The first time you boot on a new system it is executed picking the new init and just that. For addons such as bootchart2 and e4rat it would do slightly more. Assuming upstream doesn't accept custom paths for the inittab, for my specific usecase I might bake something that would remount r/w and pivot the inittabs. Anybody willing to do something more extreme could even consider having /sbin/init as a symlink and have the boot-time configuration switch the symlink, thus making the whole script run just a single boot per switch. Not necessary but surely feasible. lu