Re: [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y

From: Michal Marek
Date: Tue Jan 19 2016 - 04:57:56 EST


On 2016-01-19 09:20, Ingo Molnar wrote:
> In fact on x86 I'd suggest we go farther than that and add a core set of selects
> that can be disabled only through a sufficiently scary "I really know I'm doing
> something utmost weird" (and default disabled) config option.

Agreed.


> From my own randconfig testing I can give a core list of must-have kernel options,
> without which most distros (Fedora, RHEL, Ubuntu, SuSE) won't boot properly:
>
> +config FORCE_MINIMALLY_SANE_CONFIG
> + bool
> + default y

You should add a prompt so that the option can be disabled. Or make it
default !EXPERT, to have a single "I know what I'm doing"-type of option.

Michal