[Bug 1313784] Re: File descriptors leaked on lvs invocation

Mikkel Kirkgaard Nielsen 1313784 at bugs.launchpad.net
Mon Oct 30 22:08:17 UTC 2017


Still got this today on dist-upgrading a 16.04 Server. Not very neat and
caused some concern for bootability until reading here and the Debian
bug made me realize that it is caused by the way triggers invocate lvm
tools:

Setting up mdadm (3.3-2ubuntu7.4) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2303: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2303: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2316: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2316: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2329: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2329: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2342: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2342: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2402: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 2402: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.4.0-98-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found linux image: /boot/vmlinuz-4.4.0-96-generic
Found initrd image: /boot/initrd.img-4.4.0-96-generic
Found linux image: /boot/vmlinuz-4.4.0-93-generic
Found initrd image: /boot/initrd.img-4.4.0-93-generic
Found linux image: /boot/vmlinuz-4.4.0-87-generic
Found initrd image: /boot/initrd.img-4.4.0-87-generic
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 3125: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on vgs invocation. Parent PID 3125: /usr/sbin/grub-probe
File descriptor 3 (pipe:[379519083]) leaked on lvs invocation. Parent PID 3241: /bin/sh
done
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1313784

Title:
  File descriptors leaked on lvs invocation

Status in grub2 package in Ubuntu:
  Triaged

Bug description:
  While upgrading to Kubuntu 14.04 yesterday, I got the following error
  messages over and over again:

  Generating grub configuration file ...^M
  File descriptor 3 (pipe:[4852522]) leaked on vgs invocation. Parent PID 6438: grub-probe^M
  File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on vgs invocation. Parent PID 6438: grub-probe^M

  
  The file descriptors appeared random, and the "Parent PID" was either /bin/sh, grub-install, grub-probe or /usr/sbin/grub-probe:
  grep leaked ./dist-upgrade/apt-term.log |sed 's/.*Parent PID [0-9]*: //' | sort  | uniq -c
       53 /bin/sh
       72 grub-install
      106 grub-probe
     1484 /usr/sbin/grub-probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1313784/+subscriptions



More information about the foundations-bugs mailing list