Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2046360

Summary: "Boom grub2 integration is disabled" warning removed in rhel9.0 and new warning is unable to be remedied
Product: Red Hat Enterprise Linux 9 Reporter: Corey Marthaler <cmarthal>
Component: boom-bootAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: agk, bmr, dkeefe, jbrassow, mcsontos
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: boom-boot-1.5.1-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:32:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2022-01-26 16:29:44 UTC
Description of problem:
It doesn't appear to matter if or how many times 'grub2-mkconfig' is run, the warning isn't removed from the boom output.

[root@hayes-03 ~]# boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
Created entry with boot_id 6ece556:
  title Title
  machine-id 914bad8a1084420bb933ef7a98196594
  version 5.14.0-44.el9.x86_64
  linux /vmlinuz-5.14.0-44.el9.x86_64
  initrd /initramfs-5.14.0-44.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap


[root@hayes-03 ~]# grub2-mkconfig > /boot/grub2/grub.cfg
Generating grub configuration file ...
Found Red Hat Enterprise Linux 9.0 Beta (Plow) on /dev/sdc3
Adding boot menu entry for UEFI Firmware Settings ...
done

[root@hayes-03 ~]#  boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
Entry already exists (boot_id=6ece556).

[root@hayes-03 ~]# grub2-mkconfig > /boot/grub2/grub.cfg
Generating grub configuration file ...
Found Red Hat Enterprise Linux 9.0 Beta (Plow) on /dev/sdc3
Adding boot menu entry for UEFI Firmware Settings ...
done

[root@hayes-03 ~]#  boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=7afd6ca) do not match OsProfile: marking read-only
Created entry with boot_id 6ece556:
  title Title
  machine-id 914bad8a1084420bb933ef7a98196594
  version 5.14.0-44.el9.x86_64
  linux /vmlinuz-5.14.0-44.el9.x86_64
  initrd /initramfs-5.14.0-44.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap


Version-Release number of selected component (if applicable):
boom-boot-1.3-3.el9    BUILT: Mon Aug  9 02:52:24 PM CDT 2021

kernel-5.14.0-44.el9    BUILT: Mon Jan 17 01:23:15 PM CST 2022
lvm2-2.03.14-3.el9    BUILT: Tue Jan  4 04:49:45 PM CST 2022


How reproducible:
Everytime

Comment 1 Bryn M. Reeves 2023-03-15 19:30:10 UTC
These messages are irrelevant for RHEL8/9 onwards since the system uses BLS for boot entries by default. We should just remove the warning.

Comment 2 Bryn M. Reeves 2023-04-11 16:06:37 UTC
These warnings have been removed upstream:

commit 569c4c6d909c7aeb99973d5e44147a7f41c1dc2e
Author: Bryn M. Reeves <bmr>
Date:   Wed Mar 29 16:18:53 2023 +0100

    Drop bootloader configuration checks
    
    Remove the checks for grub2 BLS configuration: all supported
    distributions now use BLS by default, and BLS support is required
    in order to use boom to manage boot entries.
    
    Signed-off-by: Bryn M. Reeves <bmr>

Comment 9 Corey Marthaler 2023-06-28 15:44:07 UTC
Marking Verified:Tested in the latest rpms.

boom-boot-1.5.1-1.el9    BUILT: Wed May 17 03:00:49 PM CEST 2023


[root@grant-03 ~]# boom create --title Title --root-device /dev/snapper/boom_snap
Created entry with boot_id 052954e:
  title Title
  machine-id 82316696dd0b4ca58716c6d1c450650a
  version 5.14.0-322.el9.x86_64
  linux /vmlinuz-5.14.0-322.el9.x86_64
  initrd /initramfs-5.14.0-322.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_grant--03-swap rd.lvm.lv=rhel_grant-03/swap rhgb quiet
  grub_users $grub_users
  grub_arg --unrestricted
  grub_class kernel

Comment 14 errata-xmlrpc 2023-11-07 08:32:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (boom-boot bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6436