Bug 197903 - fedorakmod plugin attempts to uninstall in-use kernel modules
fedorakmod plugin attempts to uninstall in-use kernel modules
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
5
All Linux
medium Severity high
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2008-03-14 15:17:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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
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 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.

thanks

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