Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-113830

grub2-mkconfig is never run on kernel upgrade if GRUB_ENABLE_BLSCFG=false

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • rhel-8.10.z
    • rhel-8.10.z
    • grub2
    • None
    • grub2-2.02-169.el8_10
    • Yes
    • Moderate
    • rhel-bootloader
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Due to the change to '99-grub-mkconfig.install' introduced in 'grub2-common-2.02-167', grub2-mkconfig will only be executed if RUN_MKCONFIG is set to "true". However, this variable will only be set to "true" if $ARCH equals to "ppc64" or "ppc64le", but not when GRUB_ENABLE_BLSCFG is false.

      This breaks kernel updates on systems that explicitly disable BLS.

      Please provide the package NVR for which the bug is seen:

      grub2-common-2.02-167.el8_10

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Set GRUB_ENABLE_BLSCFG=false in /etc/default/grub.
      2. Update the kernel-core package.
      3. Check that /boot/grub2/grub.cfg hasn't been updated.

              bootloader-eng-team bootloader -eng-team
              rhn-support-jeperez Jesus Perez
              bootloader -eng-team bootloader -eng-team
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: