Red Hat Bugzilla – Bug 167395
enhance yum to warn user if they are not running latest installed kernel
Last modified: 2014-01-21 17:52:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
If my server has the yum service enabled, and a new kernel is installed which fixes a shed-load of security issues with the current kernel, it would be very useful if we could detect this, and warn the user every time they invoked the yum command after that point that although kernel-a.b.d-1.e_FC4 is installed on their system, they are still running kernel version kernel-a.b.c-1.d_FC4. This is a "special case" since the kernel is the only package that if updated won't get automatically used until a reboot.
The logic would effectively do an "rpm -q kernel", ascertain the latest version, and then compare that to "uname -r", or "/proc/version".
This would be of benefit to admins running servers and "normal" users alike with long-running desktop systems.
This request is related to bugzilla request 167393.
Version-Release number of selected component (if applicable):
you can already do this in yum by using a yum-plugin.
Write the plugin however you'd like.