Bug 197903 - fedorakmod plugin attempts to uninstall in-use kernel modules
Summary: fedorakmod plugin attempts to uninstall in-use kernel modules
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 5
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-07 02:50 UTC by Chris Weyl
Modified: 2008-03-14 19:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-14 19:17:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Weyl 2006-07-07 02:50:11 UTC
Description of problem:
fedora-kmod plugin will cause yum to uninstall kernel modules being used by the
running kernel.

Version-Release number of selected component (if applicable):
yum-fedorakmod 0.6-2.fc5


How reproducible:
Have two kernel versions installed; be running the older version.  yum update
prompts to install a new kernel, it's prereqs; and to uninstall the kernel
you're _not_ running, plus any kmod packages you're using against the older
(running) kernel on your system.


Steps to Reproduce:
As above.

In this case, I have two kernels and two kmod's installed, and I'm running the
older of the two:
[cweyl@zeus x86_64]$ rpmquery kernel
kernel-2.6.16-1.2122_FC5
kernel-2.6.17-1.2139_FC5
[cweyl@zeus x86_64]$ rpmquery kmod-nvidia
kmod-nvidia-1.0.8762-2.2.6.17_1.2139_FC5
kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5
[cweyl@zeus x86_64]$ uname -r
2.6.16-1.2122_FC5

Today kernel 2145 was released.  Yum update yields:

Installing:
 kernel                  x86_64     2.6.17-1.2145_FC5  updates 
 kernel-devel            x86_64     2.6.17-1.2145_FC5  updates 
 kmod-nvidia             x86_64     1.0.8762-2.2.6.17_1.2145_FC5  livna  
...
Removing:
 kernel                  x86_64     2.6.17-1.2139_FC5  installed 
 kernel-devel            x86_64     2.6.17-1.2139_FC5  installed 
 kmod-nvidia             x86_64     1.0.8762-1.2.6.16_1.2122_FC5  installed
...
Removing for dependencies:
 kmod-nvidia             x86_64     1.0.8762-2.2.6.17_1.2139_FC5  installed

Expected results:
The installonlyn plugin recognizes that you're running a specific kernel and
doesn't try to uninstall it.  Shouldn't the kmod plugin do the same, and not try
to uninstall kmod packages that match the running version of the kernel?

Comment 1 Seth Vidal 2008-03-14 15:15:16 UTC
So this bug has been sitting for a loooooooooooong time.

Have you experienced it on f7 or f8?

Comment 2 Chris Weyl 2008-03-14 15:57:30 UTC
Ah, what's a year or two :)

AFAIK, it's still present.  However, I switched back to apt not too long after
posting this bug, so...

Comment 3 Seth Vidal 2008-03-14 19:17:45 UTC
Okay, sorry to hear that. I'm going to provisionally close this bug
insufficient_data and ask jack to take a look at it b/c of the kmod involvement.

thanks



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