Bug 52762 - Many modules files are not deleted.
Many modules files are not deleted.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-28 16:02 EDT by hjl
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-28 16:02:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description hjl 2001-08-28 16:02:22 EDT
In the kernel spec file, there are many

# grep "#rm -f" kernel-2.4.spec
#rm -f /lib/modules/%{KVERREL}/modules.*
#rm -f /lib/modules/%{KVERREL}BOOT/modules.*
#rm -f /lib/modules/%{KVERREL}jensen/modules.*
#rm -f /lib/modules/%{KVERREL}tape/modules.*
#rm -f /lib/modules/%{KVERREL}BOOTtape/modules.*

As the result, I got

modules.dep             modules.isapnpmap   modules.pcimap
modules.generic_string  modules.parportmap  modules.usbmap

under /lib/modules/deleted-kernel-version.
Comment 1 Arjan van de Ven 2001-08-28 16:07:34 EDT
Known, and annoying problem.
Some of the kernels had those files in the rpm, others didn't.
End result: either we left files behind, or RPM got upset because it tried to
remove files the %preun just removed.

Sweet end: I had time to fix this last saturday afternoon and I've tested
several kernels... seems to work.

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