Bug 296771 - removes running kernel in some situations.
Summary: removes running kernel in some situations.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
 
Reported: 2007-09-19 18:36 UTC by Dave Jones
Modified: 2015-01-04 22:29 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-02 15:10:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2007-09-19 18:36:51 UTC
a yum update has removed the currently running kernel.

(14:34:45:root@firewall:~)# uname -r
2.6.22.5-71.fc7PAE-debug
(14:34:47:root@firewall:~)# rpm -qa | grep kernel
kernel-PAE-2.6.22.5-77.fc7
kernel-PAE-debug-2.6.22.5-76.fc7
kernel-PAE-debug-2.6.22.6-81.fc7
kernel-PAE-2.6.22.6-81.fc7
kernel-headers-2.6.22.6-81.fc7

Comment 1 Florian La Roche 2007-09-23 07:17:17 UTC
The default configuration does not have the kernel-PAE variant listed
in "installonlypkgs":

    installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
            'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
            'kernel-unsupported', 'kernel-source', 'kernel-devel'])

regards,

Florian La Roche


Comment 2 Jeremy Katz 2007-09-24 04:42:52 UTC
Except that we should be checking provides against the package names as well, so
it shouldn't matter

Comment 3 Seth Vidal 2007-10-02 14:36:25 UTC
jeremy, it's not about installonlypkgs - it's about installonlyn nuking the old
package. We need to add PAE and PAE-debug to the list of possible pkgs for
installonlyn to be careful around.



Comment 4 Seth Vidal 2007-10-02 15:10:20 UTC
okay here's what I'm going to do:
1. I added kernel-PAE and PAE-debug to the list
2. I'm going to enhance the look up for what package the running kernel comes
from a bit more

closing this one as upstream - thanks!


Comment 5 Fedora Update System 2007-10-08 15:00:30 UTC
yum-3.2.6-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum'

Comment 6 Fedora Update System 2007-10-10 19:33:46 UTC
yum-3.2.6-2.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yum'


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