Re: [PATCH] Make CONFIG_FHANDLE default y

From: Richard Weinberger
Date: Thu Mar 31 2016 - 14:47:27 EST


Am 31.03.2016 um 20:42 schrieb Andi Kleen:
> On Thu, Mar 31, 2016 at 05:52:52PM +0200, Richard Weinberger wrote:
>> On Thu, Mar 31, 2016 at 5:24 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>>> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>>>
>>> Newer Fedora and OpenSUSE didn't boot with my standard configuration.
>>> It took me some time to figure out why, in fact I had to write a script
>>> to try different config options systematically.
>>>
>>> The problem is that something in dracut depends on CONFIG_FHANDLE,
>>> which adds open by file handle syscalls.
>>
>> s/something/systemd. :-)
>
> Makes sense thanks. It should probably give a better error message
> like it gives for missing cgroups
> (right now just your root file system is missing)

That's an improvement, a few release ago it segfaulted in that case.

> But right now we should avoid others having the same pain
> and make the option default.

FHANDLE is part of x86's defconfig.

Please see https://github.com/systemd/systemd/blob/master/README#L37 for a list
of needed kernel options.

Thanks,
//richard