Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
UEK updates do not register in 'dnf needs-restarting -r'

It seems UEK updates do not register when checking for a required reboot with 'dnf needs-restarting -r'.
[[email protected] ~]# 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
[[email protected] ~]# 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
[[email protected] ~]# dnf needs-restarting -r
No core libraries or services have been updated since boot-up.
Reboot should not be necessary.
After a reboot:
[[email protected] ~]# 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?
Best Answer
-
Looks like a known bug in dnf-plugins-core
I expect we will see this updated soon.
Answers
-
Looks like a known bug in dnf-plugins-core
I expect we will see this updated soon.
-
I see. Thank you.
-
For what it’s worth: dnf-plugins-core-4.0.21-4.0.1 was published on Feb 1 2022. However, further review of the documentation revealed that need-restarting only applies to running processes and will therefore not indicate a reboot is required for a kernel that’s installed but not booted.