Bug#517701: file descriptors leak during vgscan invocations
martin f krafft
madduck at debian.org
Sun Mar 1 15:34:30 UTC 2009
Package: lvm2
Version: 2.02.44-2
Severity: important
On the last few upgrades of lvm2, I saw the following output:
Setting up lvm2 (2.02.44-2) ...
Setting up LVM Volume GroupsFile descriptor 51 (/var/lib/debtags/vocabulary.idx) leaked on vgscan invocation. Parent PID 32047: /bin/sh
File descriptor 52 (/var/lib/debtags/vocabulary) leaked on vgscan invocation. Parent PID 32047: /bin/sh
File descriptor 53 (/var/lib/debtags/package-tags.idx) leaked on vgscan invocation. Parent PID 32047: /bin/sh
Reading all physical volumes. This may take a while...
/dev/cdrom: open failed: Read-only file system
Attempt to close device '/dev/cdrom' which is not open.
/dev/hdb: open failed: Read-only file system
Attempt to close device '/dev/hdb' which is not open.
File descriptor 51 (/var/lib/debtags/vocabulary.idx) leaked on vgchange invocation. Parent PID 32047: /bin/sh
File descriptor 52 (/var/lib/debtags/vocabulary) leaked on vgchange invocation. Parent PID 32047: /bin/sh
File descriptor 53 (/var/lib/debtags/package-tags.idx) leaked on vgchange invocation. Parent PID 32047: /bin/sh
.
This is a bit scary. First of all, I don't know what it means, not
can I find any information about it. Second, and possibly more
importantly, what why does LVM even know about file descriptors? It
seems like lvm2 is stepping over the line and deals with data it
should not even know about. Either that's due to featuritis, some
other design errors, or there's something else gravely wrong.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lvm2 depends on:
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.30-2 The Linux Kernel Device Mapper use
ii libreadline5 5.2-3.1 GNU readline and history libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages lvm2 recommends:
ii dmsetup 2:1.02.30-2 The Linux Kernel Device Mapper use
lvm2 suggests no packages.
-- debconf information:
lvm2/kernel:
lvm2/snapshots:
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20090301/daada08e/attachment.pgp
More information about the pkg-lvm-maintainers
mailing list