View Issue Details

IDProjectCategoryView StatusLast Update
0000056AlmaLinux-8grub2public2021-05-09 05:25
ReporterUnknownVictim Assigned To 
PrioritylowSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platformx86_64OSAlmaLinuxOS Version8.3
Summary0000056: /boot/grub2/grub.cfg not being updated during new kernel installation
DescriptionInstalling newest kernel via "yum update" downloads and installs kernel-4.18.0-240.15.1.el8_3.x86_64 and its dependencies, however, /boot/grub2/grub.cfg is not updated during the process.

/boot/grub2/grub.cfg can be manually updated via the command "grub2-mkconfig -o /boot/grub2/grub.cfg".
Steps To ReproduceFreshly installed minimal server, run "yum update" to download and install the updated kernel and dependencies.
Check if /boot/grub2/grub.cfg has been updated with the new kernel.
(grep 4.18.0-240.15.1.el8_3.x86_64 /boot/grub2/grub.cfg)
TagsNo tags attached.
abrt_hash
URL

Activities

alukoshko

2021-04-04 16:10

developer   ~0000119

Hello and thanks for report.
It shouldn't be updated I believe as boot entries are located here: /boot/loader/entries/
Do you have new kernel available in GRUB?

UnknownVictim

2021-04-04 16:34

reporter   ~0000120

/boot/loader/entries/ is being updated during "yum update",

[[email protected] ~]# ls -l /boot/loader/entries/
total 12
-rw-r--r--. 1 root root 388 Apr 3 23:30 96caaef3565d4035b2459c52e5270b7e-0-rescue.conf
-rw-r--r--. 1 root root 368 Apr 3 23:37 96caaef3565d4035b2459c52e5270b7e-4.18.0-240.15.1.el8_3.x86_64.conf
-rw-r--r--. 1 root root 316 Apr 3 23:30 96caaef3565d4035b2459c52e5270b7e-4.18.0-240.el8.x86_64.conf
[[email protected] ~]#

however /boot/grub2/grub.cfg is not.
On reboot, the system is not loading the new kernel. /boot/grub2/grub.cfg was not reconfigured with the new kernel's details.
After running "grub2-mkconfig -o /boot/grub2/grub.cfg", /boot/grub2/grub.cfg is configured with the new kernel's details and the new kernel is loaded on reboots.

Hope that clarifies what I am seeing.

Thank you.

UnknownVictim

2021-05-09 05:25

reporter   ~0000188

FWIW, same issue see when installing kernel 4.18.0-240.22.1.el8_3.x86_64.

Issue History

Date Modified Username Field Change
2021-04-04 05:32 UnknownVictim New Issue
2021-04-04 16:10 alukoshko Note Added: 0000119
2021-04-04 16:34 UnknownVictim Note Added: 0000120
2021-05-09 05:25 UnknownVictim Note Added: 0000188