Bug 167395 - enhance yum to warn user if they are not running latest installed kernel
Summary: enhance yum to warn user if they are not running latest installed kernel
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-02 10:31 UTC by James Hunt
Modified: 2014-01-21 22:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-02 12:54:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.




Note You need to log in before you can comment on or make changes to this bug.