LINBIT / drbd

LINBIT DRBD kernel module
https://docs.linbit.com/docs/users-guide-9.0/
GNU General Public License v2.0
587 stars 100 forks source link

drbd_transport_rdma.ko not removed from /lib/modules #77

Open ggzengel opened 1 year ago

ggzengel commented 1 year ago

On current proxmox 8, after removing kernel the drbd_transport_rdma.ko still exists:

Performing actions...
[master 443439a] saving uncommitted changes in /etc prior to apt run
 Author: root <root@px6.rad-ffm.local>
 9 files changed, 67 insertions(+), 65 deletions(-)
 rewrite pve/.rrd (94%)
(Reading database ... 105569 files and directories currently installed.)
Removing pve-kernel-5.15.108-1-pve (5.15.108-2) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.108-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.126-1-pve
Found initrd image: /boot/initrd.img-5.15.126-1-pve
Found linux image: /boot/vmlinuz-5.15.116-1-pve
Found initrd image: /boot/initrd.img-5.15.116-1-pve
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing pve-kernel-5.15.116-1-pve (5.15.116-1) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.116-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.126-1-pve
Found initrd image: /boot/initrd.img-5.15.126-1-pve
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
(Reading database ... 91130 files and directories currently installed.)
Purging configuration files for pve-kernel-5.15.116-1-pve (5.15.116-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.116-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.126-1-pve
Found initrd image: /boot/initrd.img-5.15.126-1-pve
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
rmdir: failed to remove '/lib/modules/5.15.116-1-pve': Directory not empty
dpkg: warning: while removing pve-kernel-5.15.116-1-pve, directory '/lib/modules/5.15.116-1-pve' not empty so not removed
Purging configuration files for pve-kernel-5.15.108-1-pve (5.15.108-2) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.108-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.15.108-1-pve /boot/vmlinuz-5.15.108-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.126-1-pve
Found initrd image: /boot/initrd.img-5.15.126-1-pve
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
rmdir: failed to remove '/lib/modules/5.15.108-1-pve': Directory not empty
dpkg: warning: while removing pve-kernel-5.15.108-1-pve, directory '/lib/modules/5.15.108-1-pve' not empty so not removed
# ls -laR 5.15.108-1-pve  5.15.116-1-pve  5.15.74-1-pve  5.15.83-1-pve
5.15.108-1-pve:
total 12
drwxr-xr-x 3 root root 4096 Nov  5 16:50 .
drwxr-xr-x 7 root root 4096 Nov  5 16:09 ..
drwxr-xr-x 3 root root 4096 Aug  9 21:11 updates

5.15.108-1-pve/updates:
total 12
drwxr-xr-x 3 root root 4096 Aug  9 21:11 .
drwxr-xr-x 3 root root 4096 Nov  5 16:50 ..
drwxr-xr-x 2 root root 4096 Nov  5 16:11 dkms

5.15.108-1-pve/updates/dkms:
total 96
drwxr-xr-x 2 root root  4096 Nov  5 16:11 .
drwxr-xr-x 3 root root  4096 Aug  9 21:11 ..
-rw-r--r-- 1 root root 88544 Aug  9 21:11 drbd_transport_rdma.ko

5.15.116-1-pve:
total 12
drwxr-xr-x 3 root root 4096 Nov  5 16:51 .
drwxr-xr-x 7 root root 4096 Nov  5 16:09 ..
drwxr-xr-x 3 root root 4096 Sep  3 16:36 updates

5.15.116-1-pve/updates:
total 12
drwxr-xr-x 3 root root 4096 Sep  3 16:36 .
drwxr-xr-x 3 root root 4096 Nov  5 16:51 ..
drwxr-xr-x 2 root root 4096 Nov  5 16:11 dkms

5.15.116-1-pve/updates/dkms:
total 96
drwxr-xr-x 2 root root  4096 Nov  5 16:11 .
drwxr-xr-x 3 root root  4096 Sep  3 16:36 ..
-rw-r--r-- 1 root root 88544 Sep  3 16:36 drbd_transport_rdma.ko

5.15.74-1-pve:
total 12
drwxr-xr-x 3 root root 4096 Aug  9 21:15 .
drwxr-xr-x 7 root root 4096 Nov  5 16:09 ..
drwxr-xr-x 3 root root 4096 Dec  5  2022 updates

5.15.74-1-pve/updates:
total 12
drwxr-xr-x 3 root root 4096 Dec  5  2022 .
drwxr-xr-x 3 root root 4096 Aug  9 21:15 ..
drwxr-xr-x 2 root root 4096 Aug  9 21:09 dkms

5.15.74-1-pve/updates/dkms:
total 96
drwxr-xr-x 2 root root  4096 Aug  9 21:09 .
drwxr-xr-x 3 root root  4096 Dec  5  2022 ..
-rw-r--r-- 1 root root 88544 Dec  5  2022 drbd_transport_rdma.ko

5.15.83-1-pve:
total 12
drwxr-xr-x 3 root root 4096 Sep  3 16:42 .
drwxr-xr-x 7 root root 4096 Nov  5 16:09 ..
drwxr-xr-x 3 root root 4096 Aug  9 21:11 updates

5.15.83-1-pve/updates:
total 12
drwxr-xr-x 3 root root 4096 Aug  9 21:11 .
drwxr-xr-x 3 root root 4096 Sep  3 16:42 ..
drwxr-xr-x 2 root root 4096 Sep  3 16:41 dkms

5.15.83-1-pve/updates/dkms:
total 96
drwxr-xr-x 2 root root  4096 Sep  3 16:41 .
drwxr-xr-x 3 root root  4096 Aug  9 21:11 ..
-rw-r--r-- 1 root root 88544 Aug  9 21:11 drbd_transport_rdma.ko