Red Hat Bugzilla – Bug 1285601
Incorrect ordering of boot menu entries generated by grubby
Last modified: 2017-12-04 10:07:23 EST
Description of problem:
continuing from bug 1212128 ,
install rhel 7.2 and update or install multiple kernels
we not don't get systemd.debug but we do have mis-ordering of the kernels in the grub menu.
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. install rhel 7.2
2. install another kernel
3. kernels are now mismatched but grub defaults to highlighting on the correct kernel
kernels are in wrong order, but system will boot to correct one.
kernels to be in correct order in grub.
I'm not sure what's the requested behavior here. Could you please retest that the bug s fixed for you?
Retested with grubby-8.28-18.el7:
[root@localhost ~]# echo "MAKEDEBUG=yes" >> /etc/sysconfig/kernel
[root@localhost ~]# yum install ./kernel-3.10.0-507.el7.x86_64.rpm
The result is that the non-debug boot entry is listed first, following the debug boot entry. The problem is that the debug entry is selected to be booted by default, which is not expected:
Red Hat Enterprise Linux Server (3.10.0-507.el7.x86_64) 7.3 (Maipo)
Red Hat Enterprise Linux Server (3.10.0-507.el7.x86_64) 7.3 (Maipo) with> << selected by default
Red Hat Enterprise Linux Server (3.10.0-506.el7.x86_64) 7.3 (Maipo)
Red Hat Enterprise Linux Server (0-rescue-49a0cff6c58a443eba05fa166c4349>
Since the fix is incomplete, moving back to ASSIGNED.
discussed with jstodola; moving this to 7.4 release; old behavior will remain for now.
On RHEL 7.3 the order is now as expected (first normal, second with debugging) altough #c9 states "moving to 7.4 release"
but now the debugging entry is selected as default boot entry.
see also: https://bugzilla.redhat.com/show_bug.cgi?id=1367792#c6
It sounds like two distinct problems are being discussed here: an unexpected ordering of the entries on the grub boot menu (Kathryn), vs the wrong entry being marked as the default (Jan, Thomas, and me too). Can someone clarify whether these are different symptoms of the same underlying problem in grubby, or should these be tracked as two separate bugs?
Related bug (not about ordering): https://bugzilla.redhat.com/show_bug.cgi?id=1367792#c8
*** Bug 1398811 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.