[Bug 1871186] Re: grub-mkconfig prefers /etc/default/grub.d settings
Ravi Kant Sharma
1871186 at bugs.launchpad.net
Thu Feb 19 11:55:21 UTC 2026
** Tags added: rls-rr-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1871186
Title:
grub-mkconfig prefers /etc/default/grub.d settings
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
Since the fix for bug 901600 was commited, setting in
/etc/default/grub now can be overiden by /etc/default/grub.d. It helps
developers to make customized images, but it can really blows up the
brain to the rest users.
I've lost an hour trying to understand why grub ignores my
GRUB_TIMEOUT settings, until I found hostile file 50-cloudimg-
settings.cfg, that silently overrides my setting. I think such
behaviour violates simple principle — user settings must have the
higest precedence.
I understand that changing this behaviour, may break a lot of code. So
please at least add BIG RED BANNER to /etc/default/grub with warning:
before changing something in the file, check all the files in
/etc/default/grub.d for conflicting settings, because they have higher
precedence.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1871186/+subscriptions
More information about the foundations-bugs
mailing list