-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
rhel-9.5
-
None
-
No
-
Critical
-
rhel-bootloader
-
ssg_core_services
-
3
-
False
-
False
-
-
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.