On 05/25/2013 01:13 PM, Pacho Ramos wrote: > El sáb, 25-05-2013 a las 11:54 +0200, Luca Barbato escribió: >> Hi, since the whole discussion got somehow sidetracked on where and if >> to install for everybody the rc system specific files for everybody >> (that should be an implementation detail for the specific dohelper >> IMHO), I'm back to the other part of it: switching the actual init >> implementation. >> >> # WHY (not just edit your bootloader) >> >> Since efi at least some people started to put in the kernel the bootargs >> and we have at least few new options brewing for init, some are >> small impact (bootchar, bb-init-openrc and runit-openrc) some are more >> invasive (runit and systemd). > > I use e4rat and, for that, I need to add > init=/sbin/e4rat-preload > > to my grub.conf, I guess this wouldn't change with this, no? :/
mostly you would be able to do # eselect init addon e4rat instead. But the whole eselect init should be an opt-in till we are 100% sure it covers the usual scenarios. The basic idea is that you would have a wrapper (shellscript or binary) that just reads from a known location what to run once and what to run the following times, something along the lines of if (switching) do_switch else exec $real_init With all the possible failovers. lu