grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Support dropin files for Linux kernel parameters


From: Simon Rowe
Subject: Re: [PATCH] Support dropin files for Linux kernel parameters
Date: Mon, 4 Mar 2024 09:04:04 +0000

On 02/03/2024, 03:21, "Oskari Pirhonen" <xxc3ncoredxx@gmail.com> wrote:

 

> Would it be better to have the kernel command line args in GRUB config override the ones in
> any drop-ins? At least for me it would be surprising behavior if my distro set something in
> /usr/lib/kernel.d/ and changing that value in my GRUB config didn't have an effect.

 

That then makes it impossible for an admin to override any parameter present in GRUB_CMDLINE_LINUX as that takes priority over files in either /etc/kernel.d/ or /usr/lib/kernel.d/

 

In my hubris I imagine that distros would move all static or install-time config to /usr/lib/kernel.d/ and GRUB_CMDLINE_LINUX would be left just for backward compatibility.

 

If a distro carries this change then the docs telling users how to set their own parameters would need updating to mention /etc/kernel.d/ instead of GRUB_CMDLINE_LINUX.

 

I can switch the order if that's the preferred behaviour, but I feel it diminishes the usefulness of the feature.

 

Regards

Simon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]