[Bug 1291434] Re: GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options
Nathan Stratton Treadway
ubuntu.lp at nathanst.com
Thu Jul 24 20:31:32 UTC 2014
Also note that another set up duplicates is added to the line each time the grub-pc.postinst script is run -- on one of my Trusty systems I now see:
GRUB_CMDLINE_LINUX_DEFAULT="nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw"
(I see that this value is also saved in the debconf database:
# debconf-show grub-pc | grep linux_cmdline_default
* grub2/linux_cmdline_default: nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw
)
I tracked the source of these two keywords to /etc/default/grub.d/dmraid2mdadm.cfg (part of the mdadm package), which contains the single line:
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT nomdmonddf nomdmonisw"
Perhaps that script needs to be expanded to check the current value of
$GRUB_CMDLINE_LINUX_DEFAULT and only add the new keywords if they aren't
already included?
Nathan
** Also affects: mdadm (Ubuntu)
Importance: Undecided
Status: New
--
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/1291434
Title:
GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options
Status in “grub2” package in Ubuntu:
Confirmed
Status in “mdadm” package in Ubuntu:
New
Bug description:
2014-03-12 - Today's trusty update installed grub-pc 2.02~beta2-7 and
the linux default params were duplicated
Instead of this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline nomdmonddf nomdmonisw"
It wanted to install this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline nomdmonddf nomdmonisw nomdmonddf nomdmonisw"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1291434/+subscriptions
More information about the foundations-bugs
mailing list