View Issue Details

IDProjectCategoryView StatusLast Update
0017280CentOS-8grub2public2020-05-25 09:15
Reportersrsbzns Assigned To 
Status newResolutionopen 
Product Version8.1.1911 
Summary0017280: Upgrading grub2 overwrites changes in /etc/default/grub
DescriptionFor CentOS 8 virtual servers, OnApp currently requires that the following be set in /etc/default/grub (per


The following is run afterwards to generate the config:

grub2-mkconfig -o /boot/grub2/grub.cfg

After making the above changes, CentOS 8 virtual servers reboot as expected. However, upgrading from grub2-tools-2.02-78.el8.x86_64.rpm to grub2-tools-2.02-78.el8_1.1.x86_64.rpm appears to overwrite /etc/default/grub, resulting in GRUB_ENABLE_BLSCFG being set to the following:


This results in the virtual server throwing the following error on next reboot:

error: file '/boot/grub/grub.conf' not found.

Expected behavior is that /etc/default/grub will retain settings between versions and will not be overwritten.
Steps To Reproduce1. Set 'GRUB_ENABLE_BLSCFG=false' in '/etc/default/grub'
2. Run 'grub2-mkconfig -o /boot/grub2/grub.cfg'
3. Use `dnf` to upgrade to 'grub2-tools-2.02-78.el8_1.1.x86_64.rpm'
4. Check 'GRUB_ENABLE_BLSCFG' in '/etc/default/grub'
Tagsboot, grub2


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-04-23 13:28 srsbzns New Issue
2020-04-23 13:28 srsbzns Tag Attached: boot
2020-04-23 13:28 srsbzns Tag Attached: grub2