kernel cleanup on remove

May 26, 2013
24
0
21
Yaroslavl, Russia
This is not really a big deal but why does not old initrd files get removed on kernel removal?

Code:
# ls -l /boot/
total 71763
-rw-r--r-- 1 root root   105982 Nov  8 08:42 config-2.6.32-34-pve
drwxr-xr-x 3 root root     5120 Nov  9 09:12 grub
-rw-r--r-- 1 root root 16485840 May 27 08:11 initrd.img-2.6.32-29-pve
-rw-r--r-- 1 root root 16533820 Jun 25 05:21 initrd.img-2.6.32-30-pve
-rw-r--r-- 1 root root 16535006 Jul 28 12:57 initrd.img-2.6.32-31-pve
-rw-r--r-- 1 root root 16571003 Nov  9 09:12 initrd.img-2.6.32-34-pve
drwxr-xr-x 2 root root    12288 May 27 05:04 lost+found
-rw-r--r-- 1 root root  2637662 Nov  8 08:42 System.map-2.6.32-34-pve
-rw-r--r-- 1 root root  4298448 Nov  8 08:42 vmlinuz-2.6.32-34-pve
 
Ah, yes, indeed. But .old-dkms are not being removed. Don't know if they should be.
Code:
# ls -l /boot/
total 57M
-rw-r--r-- 1 root root 104K Nov  8 08:42 config-2.6.32-34-pve
drwxr-xr-x 4 root root 7.0K Nov  8 13:30 grub
-rw-r--r-- 1 root root  17M Nov  9 10:26 initrd.img-2.6.32-33-pve.old-dkms
-rw-r--r-- 1 root root  17M Nov  9 10:26 initrd.img-2.6.32-34-pve
-rw-r--r-- 1 root root  17M Nov  9 10:21 initrd.img-2.6.32-34-pve.old-dkms
drwx------ 2 root root  12K May 10  2014 lost+found
-rw-r--r-- 1 root root 2.6M Nov  8 08:42 System.map-2.6.32-34-pve
-rw-r--r-- 1 root root 4.1M Nov  8 08:42 vmlinuz-2.6.32-34-pve
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!