Forum Stats

  • 3,827,030 Users
  • 2,260,734 Discussions
  • 7,897,148 Comments

Discussions

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

User_XVGKP
User_XVGKP Member Posts: 4 Green Ribbon

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

Answers