Red Hat Bugzilla – Bug 1285082
grubby: incorrect handling of separator in grub set variable value
Last modified: 2016-07-19 15:22:47 EDT
Description of problem:
In /etc/sysconfig/grub I have:
Which is probably incorrect but it leads to some interesting behaviour:
grub2-mkconfig adds this line to menu entries:
then when grubby runs it changes it to
set gfxpayload=vga=normal=normal=normal.. and so on
repeating '=normal' 26795 times resulting a 187585 characters long line. The rest of the file looks fine.
When trying to boot with this config, grub prints an error message and immediately reboots, without any possibility to recover.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure you have some way to revert your grub.cfg without needing the grub you are trying this on
2. Add "set gfxpayload=vga=normal" (without the quotes) to one of your menuentry sections
3. Install or remove a kernel using dnf
The resulting grub.conf contains a long line of repeated '=normal'.
Inability to boot or even get to grub command line.
No long lines of repeated '=normal'.
Booting just fine.
This bug was already present in f21.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.