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

grub2-mkconfig drop $tuned_params from files in /boot/loader/entries/

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • rhel-9.5
    • grub2
    • None
    • No
    • Critical
    • rhel-bootloader
    • ssg_core_services
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

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

      By default 

      GRUB_ENABLE_BLSCFG=true

       present in the

      /etc/default/grub

      file.

       

      if run command 

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

      then records in the /boot/loader/entries/ not updated at all.

      if run command 

      grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline

      then
       

      $tuned_params

      text dropped from settings in the /boot/loader/entries/ files and tuned settings are not applied after reboot.

      What is the impact of this issue to you?

      grub2-mkconfig damage tuned settings in the /boot/loader/entries/ files

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

       

      grub2-tools-2.06-92.el9.x86_64

       

      How reproducible is this bug?:

       

      Always, each run of command:

      grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline

       

      Steps to reproduce

      tuned-adm profile network-latency
      grep -r tuned_params /boot/loader/entries/
      grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline
      grep -r tuned_params /boot/loader/entries/

      Expected results

      expected first and second grep run show identical results.

      Actual results

      actual - first grep run show $tuned_params present in the output, second grep run show what $tuned_params is absent.

      Workaround

      run

      grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline
      tuned-adm profile network-latency
      

      to workaround this grub2-mkconfig bug.

              bootloader-eng-team bootloader -eng-team
              makhomed@gmail.com Hennadii Makhomed (Inactive)
              bootloader -eng-team bootloader -eng-team
              Release Test Team Release Test Team
              Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: