[Bug 591823] Re: "File descriptor \d+ (\S+) leaked on lvs invocation."
Mikko Rantalainen
591823 at bugs.launchpad.net
Wed Jun 23 17:23:29 UTC 2021
I would guess some files are left open when
grub_util_pull_lvm_by_command() calls grub_util_exec_pipe() in grub2
/grub-core/osdep/unix/getroot.c
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/591823
Title:
"File descriptor \d+ (\S+) leaked on lvs invocation."
Status in aptitude:
Fix Released
Status in lvm2:
Fix Released
Status in lvm2 package in Ubuntu:
Opinion
Bug description:
If you see messages like these:
File descriptor 40 (/var/lib/dpkg/status) leaked on lvs invocation. Parent PID 1854: /bin/sh
File descriptor 41 (/var/lib/dpkg/status) leaked on lvs invocation. Parent PID 1854: /bin/sh
File descriptor 42 (/var/lib/dpkg/status) leaked on lvs invocation. Parent PID 1854: /bin/sh
File descriptor 43 (/var/lib/dpkg/status) leaked on lvs invocation. Parent PID 1854: /bin/sh
You can set LVM_SUPPRESS_FD_WARNINGS to suppress these warnings.
Reference:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581339
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432986
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466138
This is a slightly controversial bug and it's not yet fixed either way
(aka fix not to leak file descriptors or stop warning by default)
To manage notifications about this bug go to:
https://bugs.launchpad.net/aptitude/+bug/591823/+subscriptions
More information about the foundations-bugs
mailing list