GRUB_CMDLINE_LINUX_DEFAULT contains duplicate options
Bug #1291434 reported by
Joey Stanford
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
mdadm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
It wanted to install this:
GRUB_CMDLINE_
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |
tags: | added: trusty |
To post a comment you must log in.
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: CMDLINE_ LINUX_DEFAULT= "nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw"
GRUB_
(I see that this value is also saved in the debconf database: default cmdline_ default: nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw
# debconf-show grub-pc | grep linux_cmdline_
* grub2/linux_
)
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: LINUX_DEFAULT= "$GRUB_ CMDLINE_ LINUX_DEFAULT nomdmonddf nomdmonisw"
GRUB_CMDLINE_
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