[Bug 636010] Re: /var/log/apt/history.log fd leaked on lvs invocation
Launchpad Bug Tracker
636010 at bugs.launchpad.net
Thu Apr 12 22:49:16 UTC 2012
** Branch linked: lp:apt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/636010
Title:
/var/log/apt/history.log fd leaked on lvs invocation
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: apt
Hi
While removing a kernel of my system, I saw:
File descriptor 46 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 17966: /bin/sh
Except of the log:
[...]
Suppression de linux-image-2.6.35-19-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-19-generic /boot/vmlinuz-2.6.35-19-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-19-generic /boot/vmlinuz-2.6.35-19-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-20-generic
Found initrd image: /boot/initrd.img-2.6.35-20-generic
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
File descriptor 46 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 17966: /bin/sh
Found Debian GNU/Linux (squeeze/sid) on /dev/mapper/bee--vg0-sid--chroot
done
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old
you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old
you may need to re-run your boot loader[grub]
Purge des fichiers de configuration de linux-image-2.6.35-19-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-19-generic /boot/vmlinuz-2.6.35-19-generic
[...]
This suggests APT is leaving a file open to a child which it should
not?
Cheers,
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apt 0.8.3ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
Date: Sat Sep 11 22:40:02 2010
ProcEnviron:
LANGUAGE=fr_FR:fr:en_GB:en
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/zsh
SourcePackage: apt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/636010/+subscriptions
More information about the foundations-bugs
mailing list