Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UEK updates do not register in 'dnf needs-restarting -r'

User_XVGKPJan 11 2022

It seems UEK updates do not register when checking for a required reboot with 'dnf needs-restarting -r'.
[root@mx ~]# grep uek /var/log/dnf.log
2022-01-11T06:38:34+0100 DEBUG Installed: kernel-uek-5.4.17-2136.302.7.2.el8uek.x86_64
2022-01-11T06:38:34+0100 DEBUG Removed: kernel-uek-5.4.17-2136.302.6.1.el8uek.x86_64
2022-01-11T06:38:34+0100 DDEBUG /var/cache/dnf/ol8_UEKR6-cfe06366889fb21d/packages/kernel-uek-5.4.17-2136.302.7.2.el8uek.x86_64.rpm removed

[root@mx ~]# uname -a
Linux mx.xxx 5.4.17-2136.301.1.4.el8uek.x86_64 #2 SMP Fri Dec 3 20:28:14 PST 2021 x86_64 x86_64 x86_64 GNU/Linux

[root@mx ~]# dnf needs-restarting -r
No core libraries or services have been updated since boot-up.
Reboot should not be necessary.

After a reboot:
[root@mx ~]# uname -a
Linux mx.xxx 5.4.17-2136.302.7.2.el8uek.x86_64 #2 SMP Wed Jan 5 19:12:52 PST 2022 x86_64 x86_64 x86_64 GNU/Linux

Is this working as intended? If so is there an alternative recommended way of checking for a required reboot?

This post has been answered by Sergio-Oracle on Jan 11 2022
Jump to Answer
Comments
Post Details
Added on Jan 11 2022
4 comments
729 views