Bug 296771

Summary: removes running kernel in some situations.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: herrold, james.antill, pfrields, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-02 15:10:20 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:
Bug Depends On:    
Bug Blocks: 235704    

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'