Robie, debconf is not a database and any setting in there needs to be
read to a configuration file and any changes in the configuration file
need to be filled back into debconf. The integration for default cmdline
with /etc/default/grub is very complex and already broke a bunch of
times.

Drop-in units are the standard mechanism to override this in many
projects. We specifically added the mechanism to allow overrides, and
that is used in various places to set grub defaults for images, OEM
kernels, and plenty of other things I can't possibly remember. It is the
preferred place to store such overrides.

Of course it's preferable to have overrides that only append items, I
don't recall if that works correctly, after all the files are parsed by
C code in grub-install I believe.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812752

Title:
  UX: changing GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub has no
  effect in cloud images

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1812752/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to