Red Hat Bugzilla – Bug 1305889
kernel update doesn't update tboot entries in grub2 config file
Last modified: 2017-11-24 03:33:15 EST
Description of problem:
If tboot is installed and active, and the kernel package is updated with "yum update kernel", the tboot entry in /boot/grub2/grub.cfg or /boot/efi/EFI/redhat/grub.cfg still refer to the old kernel package
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure RHEL 7.2 for booting with tboot
2. update the kernel package
The "boot" boot entry is still the same as before, referencing the previous kernel. This will be so even if that kernel has been uninstalled.
tboot entries are added for the new kernel, or changed from the old one to the new one.
This is because the kernel %post script just calls grubby to an entry, and grubby doesn't support tboot.
WORKAROUND: manually run grub2-mkconfig as appropriate for the system (legacy or UEFI) after the kernel update.
Please attach the config file as it appears and how it's supposed to appear.
Changing needinfo, as Martin is no longer at Fujitsu Technology Solutions.
Japanese divisions have taken over the bugzillas.
Can you reply to Comment2 ?
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1486454#c3
I'm sorry for my very late response.
Bill-san, Thank you for your information.
We cannot reproduce this problem now.
Please close this ticket once.