[Bug 1569567] Re: Running update-grub does not update /boot/grub/grub.cfg with GRUB_CMDLINE_LINUX_DEFAULT from /etc/default/grub

Ryan Harper 1569567 at bugs.launchpad.net
Fri Apr 15 18:35:13 UTC 2016


This is expected behavior; it's just under documented =(

curtin writes /etc/default/grub.d/50-curtin-settings.cfg

even if there aren't any extra args from maas due to the maas images
which include a default console=ttyS0 setting, forcing serial output
even if users don't ask for it. (curtin revno: 98).

Grub has been modified to allow files in /etc/default/grub.d/*.cfg to
override /etc/default/grub to allow control without touching
/etc/default/grub (ie, leave it pristine).

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/901600

However, none of this is documented in a user-visible fashion (like
insde /etc/default/grub itself).

You may want to reopen grub2 task and request/supply a comment to the
default template indicating this.

** Changed in: curtin (Ubuntu)
       Status: Incomplete => Invalid

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

Title:
  Running update-grub does not update /boot/grub/grub.cfg with
  GRUB_CMDLINE_LINUX_DEFAULT from /etc/default/grub

Status in curtin package in Ubuntu:
  Invalid
Status in grub2 package in Ubuntu:
  Invalid

Bug description:
  Running update-grub does not update /boot/grub/grub.cfg with options
  from GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

  Reproducer:
  1. edit GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub .
  2. Run update-grub
  3. check /boot/grub/grub.cfg for the correct options

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



More information about the foundations-bugs mailing list