Previously, the grubby tool always set the newly added kernel as the default. The new-kernel-pkg tool originally added the debug boot entry and the normal boot entry, respectively. This caused that the debugging arguments were installed into non-debugging boot entries.
With this update, the invocations in new-kernel-pkg have been fixed to install the debug entry and the normal entry, respectively. As a result, grubby now does not automatically set the latest added boot entry as the default entry and the order of boot entries is set to "normal kernel" and "with debugging", respectively.
Retested with grubby-8.28-18.el7_2.x86_64, but the entry "with debugging " is still above the entry without debugging.
The entry without debugging is selected as the default boot entry and doesn't contain any debug boot options.
Moving back to ASSIGNED to address the ordering issue. Logs will be attached.
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.
https://rhn.redhat.com/errata/RHBA-2017-0510.html