[Bug 1797894] [NEW] upgrading grub, modifies GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

Dimitri John Ledkov launchpad at surgut.co.uk
Mon Oct 15 13:52:52 UTC 2018


Public bug reported:

upgrading grub, modifies GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

if one has makedumpfile installed. the setting from /etc/default/grub.d
/kdump-tools.cfg which imho should not have leaked into
/etd/default/grub.

See screenshot.

Also,

grub-efi-amd64  grub2/linux_cmdline_default     string  quiet splash
pcie_aspm=off crashkernel=512M-:192M

has been helpfully "updated" when it should not have.

in postinst, it seems like we source all of /etc/default/grub.d/* files,
when maybe we should not have.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot from 2018-10-15 15-41-51.png"
   https://bugs.launchpad.net/bugs/1797894/+attachment/5201233/+files/Screenshot%20from%202018-10-15%2015-41-51.png

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

Title:
  upgrading grub, modifies GRUB_CMDLINE_LINUX_DEFAULT in
  /etc/default/grub

Status in grub2 package in Ubuntu:
  New

Bug description:
  upgrading grub, modifies GRUB_CMDLINE_LINUX_DEFAULT in
  /etc/default/grub

  if one has makedumpfile installed. the setting from
  /etc/default/grub.d/kdump-tools.cfg which imho should not have leaked
  into /etd/default/grub.

  See screenshot.

  Also,

  grub-efi-amd64  grub2/linux_cmdline_default     string  quiet splash
  pcie_aspm=off crashkernel=512M-:192M

  has been helpfully "updated" when it should not have.

  in postinst, it seems like we source all of /etc/default/grub.d/*
  files, when maybe we should not have.

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



More information about the foundations-bugs mailing list