[Bug 901600] Re: Allow /etc/default/grub overriding via /etc/default/grub.d/

Colin Watson cjwatson at canonical.com
Tue May 14 13:51:15 UTC 2013


** Description changed:

  [Impact] Various customised images have upgrade problems because they don't have a way to add grub-mkconfig configuration without editing /etc/default/grub directly.
  [Test Case] Check that setting something in /etc/default/grub.d/new-file.cfg affects grub-mkconfig, e.g. by setting GRUB_CMDLINE_LINUX and checking that update-grub causes it to be passed through to /boot/grub/grub.cfg.
  [Regression Potential] I think the main thing is to make sure that nothing goes wrong when /etc/default/grub.d/ is missing.
  
  Original report follows:
  
  It would be good to be able to keep the settings in /etc/default/grub
  pristine, and allow overides via /etc/grub.d/.
  
  The one of most interest is:
  GRUB_DEFAULT=0 -> GRUB_DEFAULT=saved
  
  Thanks.
  
  Related bugs:
-  * bug 1179940:  cloud-images build process should not modify /etc/grub/default
+  * bug 1179940:  cloud-images build process should not modify /etc/default/grub

-- 
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/901600

Title:
  Allow /etc/default/grub overriding via /etc/default/grub.d/

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Precise:
  Fix Released
Status in “grub2” source package in Quantal:
  Fix Released

Bug description:
  [Impact] Various customised images have upgrade problems because they don't have a way to add grub-mkconfig configuration without editing /etc/default/grub directly.
  [Test Case] Check that setting something in /etc/default/grub.d/new-file.cfg affects grub-mkconfig, e.g. by setting GRUB_CMDLINE_LINUX and checking that update-grub causes it to be passed through to /boot/grub/grub.cfg.
  [Regression Potential] I think the main thing is to make sure that nothing goes wrong when /etc/default/grub.d/ is missing.

  Original report follows:

  It would be good to be able to keep the settings in /etc/default/grub
  pristine, and allow overides via /etc/grub.d/.

  The one of most interest is:
  GRUB_DEFAULT=0 -> GRUB_DEFAULT=saved

  Thanks.

  Related bugs:
   * bug 1179940:  cloud-images build process should not modify /etc/default/grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/901600/+subscriptions




More information about the foundations-bugs mailing list