On Thu, Jul 20, 2023, at 9:51 AM, Michael Catanzaro wrote:
> On Wed, Jul 19 2023 at 06:50:24 PM -0400, Chris Murphy 
> <li...@colorremedies.com> wrote:
>> If restricted to desktops, then we can only do it with kernel 
>> parameters. That probably means doing it in Anaconda kickstart, with 
>> a per edition/spin option for doing so.
>
> I'm not fond of this solution. In practice, this would likely mean the 
> new preemption mode would apply only to new installs and not also to 
> upgraded systems, right?

Probably.

A grubby command could add the proper kernel parameter to the bootloader 
configuration, but grubby isn't being used anywhere in Fedora (not anaconda for 
initial installs, not when installing kernel upgrades) so it isn't being 
exercised.

The more users customize, the less likely grubby is going to detect their use 
case and fail gracefully. grubby would need to have a strict "only add new 
parameter" option. Right now it also replaces the kernel command line with the 
contents of /etc/kernel/cmdline to all bootloader snippets in 
/boot/loader/entries - including snippets for other OS's, which would be bad.


-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to