I got this same warning:

$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  linux-headers-5.4.0-66-lowlatency linux-headers-5.4.0-73-lowlatency 
linux-hwe-5.4-headers-5.4.0-66
  linux-hwe-5.4-headers-5.4.0-73 linux-image-5.4.0-66-lowlatency 
linux-image-5.4.0-73-lowlatency
  linux-modules-5.4.0-66-lowlatency linux-modules-5.4.0-73-lowlatency
0 to upgrade, 0 to newly install, 8 to remove and 0 not to upgrade.
After this operation, 714 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 492639 files and directories currently installed.)
Removing linux-headers-5.4.0-66-lowlatency (5.4.0-66.74~18.04.2) ...
Removing linux-headers-5.4.0-73-lowlatency (5.4.0-73.82~18.04.1) ...
Removing linux-hwe-5.4-headers-5.4.0-66 (5.4.0-66.74~18.04.2) ...
Removing linux-hwe-5.4-headers-5.4.0-73 (5.4.0-73.82~18.04.1) ...
Removing linux-image-5.4.0-66-lowlatency (5.4.0-66.74~18.04.2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-66-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-77-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-77-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-74-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-74-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-73-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-73-lowlatency
done
Removing linux-image-5.4.0-73-lowlatency (5.4.0-73.82~18.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-73-lowlatency
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-77-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-77-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-74-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-74-lowlatency
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-66-lowlatency 
(deleted)) leaked on lvs invocation. Parent PID 12476: /bin/sh
done
Removing linux-modules-5.4.0-66-lowlatency (5.4.0-66.74~18.04.2) ...
Removing linux-modules-5.4.0-73-lowlatency (5.4.0-73.82~18.04.1) ...

$ lsb_release -a
LSB Version:    
core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic

I would guess this is actually a bug in grub-probe.

-- 
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:
  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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to