Purge leaves behind some files in /lib/modules
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Fix Released
|
Medium
|
Bryan Wu | ||
Bug Description
While purging some old kernels, I noticed warnings from dpkg that it was not removing /lib/modules/xxx.
Here's what was left behind:
perseus:
2.6.28-10-generic:
modules.alias.bin modules.dep.bin modules.symbols.bin
2.6.28-8-generic:
modules.alias.bin modules.dep.bin modules.symbols.bin
Removing the package should clean up all of the files associated with that version of the kernel.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
MachineType: LENOVO 6465CTO
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcVersionSign
SourcePackage: linux
- BootDmesg.txt Edit (54.0 KiB, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (1.0 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (990 bytes, text/plain; charset="utf-8")
- HalComputerInfo.txt Edit (2.9 KiB, text/plain; charset="utf-8")
- Lspci.txt Edit (17.2 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (638 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (1.4 KiB, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (1.7 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (3.2 KiB, text/plain; charset="utf-8")
@cooloney -- seems that we have another report of this, which I have dup'd against this original. Also I hear rumours its being talked about in the forums. Sounds like its annoying people.
To reiterate the fix I proposed in the dup-ed bug:
"""The remaining files are:
% ls /lib/modules/
modules.alias.bin modules.dep.bin modules.symbols.bin
I believe debian/
I already added these 3 fils to the remove file list of debian/
This bug should be fixed.
-Bryan
This bug was fixed in the package linux - 2.6.28-11.38
---------------
linux (2.6.28-11.38) jaunty; urgency=low
[ Brad Figg ]
* When AppArmor is configured, securityfs must be as well.
- LP: #344370
* ARM: Enable AA with SECURITYFS for imx51
- LP: #344370
[ Bryan Wu ]
* Add 3 missing files to prerm remove file list
- LP: #345623
[ Daniel T Chen ]
* SAUCE: (drop after 2.6.28) Don't trust hw-ptr blindly
- LP: #330814
* SAUCE: (drop after 2.6.28) Apply further pcm_lib updates for hw_ptr
- LP: #330814
[ Ike Panhc ]
* Copy header files for various kernel media driver
- LP: #322732
[ Tim Gardner ]
* Revert "Fix the VFP handling on the Feroceon CPU"
Only applied to mv78xx0 ARM flavour.
* Enabled drivers/
- LP: #152626
[ <email address hidden> ]
* SAUCE: ipw2200: Enable LED by default
- LP: #21367
* SAUCE: wistron_btns: support Prestigio Wifi RF kill button over suspend
- LP: #346586
[ Upstream Kernel Changes ]
* Build fix for __early_
* Fix misreporting of #cores as #hyperthreads for Q9550
* eventfd: remove fput() call from possible IRQ context
* S390: __div64_31 broken for CONFIG_MARCH_G5
* ALSA: Fix vunmap and free order in snd_free_
* ALSA: mixart, fix lock imbalance
* ALSA: pcm_oss, fix locking typo
* ALSA: hda - Fix DMA mask for ATI controllers
* ALSA: hda - Workaround for buggy DMA position on ATI controllers
* ALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2
* nfsd: nfsd should drop CAP_MKNOD for non-root
* NFSD: provide encode routine for OP_OPENATTR
* dm ioctl: validate name length when renaming
* dm io: respect BIO_MAX_PAGES limit
* dm crypt: fix kcryptd_async_done parameter
* dm crypt: wait for endio to complete before destruction
* ata_piix: add workaround for Samsung DB-P70
* V4L/DVB (10218): cx23885: Fix Oops for mixed install of analog and
digital only cards
* thinkpad-acpi: fix module autoloading for older models
* Add '-fwrapv' to gcc CFLAGS
* Move cc-option to below arch-specific setup
* USB: storage: Unusual USB device Prolific 2507 variation added
* USB: Add Vendor/Product ID for new CDMA U727 to option driver
* USB: option.c: add ZTE 622 modem device
* USB: Add device id for Option GTM380 to option driver
* USB: Option: let cdc-acm handle Sony Ericsson F3507g / Dell 5530
* USB: Updated unusual-devs entry for USB mass storage on Nokia 6233
* USB: unusual_devs: Add support for GI 0431 SD-Card interface
* USB: serial: add FTDI USB/Serial converter devices
* USB: serial: ftdi: enable UART detection on gnICE JTAG adaptors
blacklist interface0
* USB: serial: new cp2101 device id
* USB: usbtmc: fix stupid bug in open()
* USB: usbtmc: add protocol 1 support
* USB: usbfs: keep async URBs until the device file is closed
* USB: EHCI: expedite unlinks when the root hub is suspended
* USB: EHCI: Fix isochronous URB leak
* powerpc: Remove extra semicolon in fsl_soc.c
* menu: fix embedded menu snafu
* Linux 2.6.28.9
* Add '-fwrapv' to gcc CFLAGS
- LP: #348015
* Move cc-option to below arch-s...
is it possible that the patch got dropped somewhere on the way to karmic?
i'm looking at my /var/lib/
sub success () {
my @files_to_remove = qw{
modules.dep modules.isapnpmap modules.pcimap
modules.usbmap modules.parportmap
modules.
modules.
modules.alias modules.ccwmap modules.inputmap
modules.symbols modules.ofmap modules.seriomap
};
foreach my $extra_file (@files_to_remove) {
if (-f "/lib/modules/
unlink "/lib/modules/
}
}
exit 0;
}
The changes were not ever merged in the karmic tree; see bug #415832. Kernel team told me that they have a tag in the jaunty tree for changes which they still need to merge into karmic.
Closing this bug again, please use the other one.
Ok, thank you