Bug 197903 - fedorakmod plugin attempts to uninstall in-use kernel modules
fedorakmod plugin attempts to uninstall in-use kernel modules
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2006-07-06 22:50 EDT by Chris Weyl
Modified: 2008-03-14 15:17 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-14 15:17:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Weyl 2006-07-06 22:50:11 EDT
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
[cweyl@zeus x86_64]$ rpmquery kmod-nvidia
[cweyl@zeus x86_64]$ uname -r

Today kernel 2145 was released.  Yum update yields:

 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-  livna  
 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-  installed
Removing for dependencies:
 kmod-nvidia             x86_64     1.0.8762-  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 11:15:16 EDT
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 11:57:30 EDT
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 15:17:45 EDT
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.


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