-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 26/05/13 07:40 AM, Luca Barbato wrote: > On 5/26/13 12:57 PM, Michał Górny wrote: >> You are telling me that a wrapper, a thing that gets executed >> *every* boot needs to do some random magic to know which init >> system was in use and which one is supposed to be in use, and >> then conditionally move around configuration files necessary for >> it to run. This is just *INSANE*. > > I like to think it normal and the wrapper doesn't need to run every > time but only when a switch had been requested. And only if you > prefer doing the switch at boot time instead than at shutdown. >
The way it's being proposed (and please correct me if i'm wrong), the wrapper is a direct replacement binary (small C program) for all init systems, and would based on some configuration file or whatnot determine and exec the init system it's supposed to -- and make any other necessary changes too, such as switching /etc/inittab) I don't know (outside of a script in the initramfs) how this would otherwise be handled to cover all cases. I am curious though, if you see a way to do this otherwise, what the implementation would look like? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlGiIxAACgkQ2ugaI38ACPDrbAD/exZAI4utNuOBAMzdkeYj8JgB lmeOg+G892g4yYMa6cIBALEQMH3bliQ0hF3HEtJezdbzG4/XkaEdGIjM+gscxF79 =9J3a -----END PGP SIGNATURE-----