← Back to team overview

touch-packages team mailing list archive

[Bug 591823] Re: "File descriptor \d+ (\S+) leaked on lvs invocation."

 

Yep, still getting this tty spam multiple times every time update-grub
runs from apt. Not when running update-grub, not when running dpkg-
reconfigure linux-image-*, only when running apt install. So probably
this should be a bug on apt.

Suppressing it by setting LVM_SUPPRESS_FD_WARNINGS works, of course, but
I would be happy if someone could suggest a way for setting it
implicitly when running sudo apt upgrade. sudo -i apt upgrade works, but
I keep forgetting to do it. :-)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed
Status in lvm2 - Logical Volume Manager:
  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