Bug 167395

Summary: enhance yum to warn user if they are not running latest installed kernel
Product: [Fedora] Fedora Reporter: James Hunt <jamesodhunt>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: katzj
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-02 12:54:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Hunt 2005-09-02 10:31:41 UTC
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):
yum-2.3.2-7

How reproducible:
Didn't try


Additional info:

Comment 1 Seth Vidal 2005-09-02 12:54:03 UTC
you can already do this in yum by using a yum-plugin.

Write the plugin however you'd like.