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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1291434
Title:
GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1291434/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs