Comment 10 for bug 591823

Revision history for this message
Charles Curley (charlescurley) wrote :

I saw this today during two dist-upgrades followed by removing old
kernels. In both instances, this is on 10.10.

--------------------------------------------------
root@dzur:~# aptitude purge linux-image-2.6.35-24-generic
The following packages will be REMOVED:
  linux-headers-2.6.35-27{u} linux-headers-2.6.35-27-generic{u}
  linux-image-2.6.35-24-generic{p}
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 229MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 206796 files and directories currently installed.)
Removing linux-headers-2.6.35-27-generic ...
Removing linux-headers-2.6.35-27 ...
(Reading database ... 187208 files and directories currently installed.)
Removing linux-image-2.6.35-24-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-28-generic
Found initrd image: /boot/initrd.img-2.6.35-28-generic
Found linux image: /boot/vmlinuz-2.6.35-27-generic
Found initrd image: /boot/initrd.img-2.6.35-27-generic
Found linux image: /boot/vmlinuz-2.6.35-25-generic
Found initrd image: /boot/initrd.img-2.6.35-25-generic
Found memtest86+ image: /memtest86+.bin
File descriptor 42 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 5389: /bin/sh
Found Ubuntu 10.10 (10.10) on /dev/mapper/master09-root09
done
Purging configuration files for linux-image-2.6.35-24-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-24-generic /boot/vmlinuz-2.6.35-24-generic

root@dzur:~#
--------------------------------------------------

On the other machine, the file descriptor is 42.

I see no error message when running lvs, root or non-root.