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
I saw this today during two dist-upgrades followed by removing old
kernels. In both instances, this is on 10.10.
------- ------- ------- ------- ------- ------- ------- - 2.6.35- 24-generic headers- 2.6.35- 27{u} linux-headers- 2.6.35- 27-generic{ u} image-2. 6.35-24- generic{ p} 2.6.35- 27-generic ... 2.6.35- 27 ... 2.6.35- 24-generic ... postrm. d . postrm. d/initramfs- tools 2.6.35-24-generic /boot/vmlinuz- 2.6.35- 24-generic postrm. d/zz-update- grub 2.6.35-24-generic /boot/vmlinuz- 2.6.35- 24-generic 2.6.35- 28-generic img-2.6. 35-28-generic 2.6.35- 27-generic img-2.6. 35-27-generic 2.6.35- 25-generic img-2.6. 35-25-generic apt/history. log) leaked on lvs invocation. Parent PID 5389: /bin/sh master09- root09 2.6.35- 24-generic ... postrm. d . postrm. d/initramfs- tools 2.6.35-24-generic /boot/vmlinuz- 2.6.35- 24-generic postrm. d/zz-update- grub 2.6.35-24-generic /boot/vmlinuz- 2.6.35- 24-generic
root@dzur:~# aptitude purge linux-image-
The following packages will be REMOVED:
linux-
linux-
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-
Removing linux-headers-
(Reading database ... 187208 files and directories currently installed.)
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.bin
File descriptor 42 (/var/log/
Found Ubuntu 10.10 (10.10) on /dev/mapper/
done
Purging configuration files for linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
root@dzur:~# ------- ------- ------- ------- ------- ------- -
-------
On the other machine, the file descriptor is 42.
I see no error message when running lvs, root or non-root.