In case there isn't a some better solution, here's a quick attempt at a patch to the dmraid2mdadm.cfg script so that it only adds the keywords to the value of GRUB_CMDLINE_LINUX_DEFAULT if it doesn't already contain them. That would at least prevent the command line from accumulating any additional copies of the keywords during later grub-pc package upgrades.
This patch doesn't attempt to clean up already-existing extra copies of the keywords in the line in the /etc/default/grub file. Also, it only checks for cases where the keywords are found exactly as they would have been added by this script; I don't know if those two nomdmon* options are likely enough to have been added in some other format that it's worth having this script check for them each independently instead.... Nathan ** Patch added: "avoid adding keywords multiple times" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1291434/+attachment/4162482/+files/dmraid2mdadm.cfg.patch -- 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
