-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/21/2013 04:39 AM, Michał Górny wrote:
> Dnia 2013-06-20, o godz. 15:56:09 William Hubbs
> <willi...@gentoo.org> napisał(a):
> 
>> On Thu, Jun 20, 2013 at 12:16:36PM +0200, Fabio Erculiani wrote:
>>> There is a new version of eselect-init in the systemd-love
>>> overlay to play with. The new version saw the following major
>>> changes:
>>> 
>>> - the /sbin/init (aka the symlink that eselect-init handles)
>>> can be changed to whatever one wants through make.conf [1]
>>> (this is a compile time option, as documented in the eclass)
>> 
>> Why do we need to mess with /sbin/init at all?
> 
> Yes, we do because we don't want sysvinit randomly getting run as
> fallback and messing with our systems.
So what's the point in having it optional, if sysvinit would just mess
around with it.

You'd only hit this, if you start your userland with an foreign kernel.
Forgotten bootloader arguments can be "defaulted" with ...

>> I like the suggestion that came up here on the list a while back,
>> have the eselect init module install its own symlink at, say,
>> /sbin/einit. You would still have to have the user edit their
>> boot loader configuration file one time if they want to use this,
>> but this makes it completely opt-in.
> 
> Plus hacking kernel sources to disable /sbin/init fallback.

CONFIG_CMDLINE=/sbin/whatever works, i use it for root=, crypt_dev, ...
CONFIG_CMDLINE_OVERRIDE should stay off to respect bootloader "cmdline".

[ working with foreign init systems (runit-musl based ignite on
archlinux, NoUpgrade=sbin/init aka CONFIG_PROTECT does work, too.]

- -- 
Michael Weber
Gentoo Developer
web: https://xmw.de/
mailto: Michael Weber <x...@gentoo.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlHEKzMACgkQknrdDGLu8JA6AwD+MyTTKeHlNN/1Nud/G0L7XnA+
hdJl4qATOU3MkyqDQw0A+wao6tYrHTFWCt4MmTOxl3gsBvUvE/w4sQyZcPTElg3h
=XwPu
-----END PGP SIGNATURE-----

Reply via email to