Red Hat Bugzilla – Bug 1260555
grub2 shell function version_find_latest() failed to identify latest RHEL kernel
Last modified: 2015-10-12 14:34:44 EDT
Description of problem:
grub2 uses a shell function called version_find_latest() to find the latest RHEL kernel. However sometimes it fails to identify the latest kernel resulting in an older kernel be booted instead of the latest one.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. source /usr/share/grub/grub-mkconfig_lib # get shell functions
2. version_find_latest /boot/vmlinuz-3.10.0-229.el7.x86_64 /boot/vmlinuz-3.10.0-229.11.1.el7.x86_64
It should output the latest release, which is:
I believe this is being addressed in BZ #1124074 and the fix is coming soon.
*** This bug has been marked as a duplicate of bug 1124074 ***