#592834 grub-pc: File descriptor leaked on lvs invocation

Package:
os-prober
Source:
os-prober
Description:
utility to detect other OSes on a set of drives
Submitter:
Wolfram Quester
Date:
2023-03-17 09:12:05 UTC
Severity:
minor
#592834#5
Date:
2010-08-13 06:45:24 UTC
From:
To:
Hi altogether,

I justed noted during an update the following message:

Installation goes well and it doesn't seem to be a big issue, but nonetheless
the message sounds scary.

With best wishes,

Wolfi

#592834#10
Date:
2010-08-13 14:41:05 UTC
From:
To:
Could I have the full output from this update, for more context?

What version of os-prober was installed at the point when this message
was produced?

(I'm asking these questions because grub-pc doesn't call lvs directly.)

#592834#15
Date:
2010-08-13 19:27:17 UTC
From:
To:
Hi Colin,

I tried to answer your questions in the text below by pasting in the requested
output. Additionally, I attach the output of "reportbug --template grub-pc", I
threw away in the original report since I thought it's probably unimportant.

And yes, I know I should clean up the mess of old kernels ;-)

Thanks for your work and have a nice weekend,

Wolfi
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 363201 files and directories currently installed.)
Preparing to replace linux-image-2.6.32-5-amd64 2.6.32-19 (using .../linux-image-2.6.32-5-amd64_2.6.32-20_amd64.deb) ...
Unpacking replacement linux-image-2.6.32-5-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Preparing to replace firmware-linux-free 2.6.32-19 (using .../firmware-linux-free_2.6.32-20_all.deb) ...
Unpacking replacement firmware-linux-free ...
Preparing to replace libscim8c2a 1.4.9-4 (using .../libscim8c2a_1.4.9-5_amd64.deb) ...
Unpacking replacement libscim8c2a ...
Preparing to replace linux-libc-dev 2.6.32-19 (using .../linux-libc-dev_2.6.32-20_amd64.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace mobile-broadband-provider-info 20100716-1 (using .../mobile-broadband-provider-info_20100804-1_all.deb) ...
Unpacking replacement mobile-broadband-provider-info ...
Preparing to replace synaptic 0.63.2 (using .../synaptic_0.70~pre1_amd64.deb) ...
Unpacking replacement synaptic ...
Preparing to replace xul-ext-adblock-plus 1.2.1-2 (using .../xul-ext-adblock-plus_1.2.1-3_all.deb) ...
Unpacking replacement xul-ext-adblock-plus ...
Preparing to replace mplayer 2:1.0~rc3++final.dfsg1-1 (using .../mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /var/cache/apt/archives/mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb (--unpack):
 trying to overwrite '/usr/share/pixmaps/mplayer.xpm', which is also in package mplayer-gui 2:1.0~rc3++final.dfsg1-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
 /var/cache/apt/archives/mplayer_2%3a1.0~rc3++svn20100804-0.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.32-5-amd64 (2.6.32-20) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.35-trunk-amd64
Found initrd image: /boot/initrd.img-2.6.35-trunk-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found linux image: /boot/vmlinuz-2.6.32-3-amd64
Found initrd image: /boot/initrd.img-2.6.32-3-amd64
Found linux image: /boot/vmlinuz-2.6.32-2-amd64
Found initrd image: /boot/initrd.img-2.6.32-2-amd64
Found linux image: /boot/vmlinuz-2.6.31-1-amd64
Found initrd image: /boot/initrd.img-2.6.31-1-amd64
Found linux image: /boot/vmlinuz-2.6.30-2-amd64
Found initrd image: /boot/initrd.img-2.6.30-2-amd64
Found linux image: /boot/vmlinuz-2.6.30-1-amd64
Found initrd image: /boot/initrd.img-2.6.30-1-amd64
Found linux image: /boot/vmlinuz-2.6.29-1-amd64
Found initrd image: /boot/initrd.img-2.6.29-1-amd64
Found linux image: /boot/vmlinuz-2.6.28-1-amd64
Found initrd image: /boot/initrd.img-2.6.28-1-amd64
Found linux image: /boot/vmlinuz-2.6.26-1-amd64
Found initrd image: /boot/initrd.img-2.6.26-1-amd64
Found linux image: /boot/vmlinuz-2.6.25-2-amd64
Found initrd image: /boot/initrd.img-2.6.25-2-amd64
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
  No volume groups found
Found Mac OS X on /dev/sda2
done
Setting up linux-libc-dev (2.6.32-20) ...
Setting up synaptic (0.70~pre1) ...
Setting up libscim8c2a (1.4.9-5) ...
Setting up firmware-linux-free (2.6.32-20) ...
Setting up xul-ext-adblock-plus (1.2.1-3) ...
Setting up mobile-broadband-provider-info (20100804-1) ...
Processing triggers for menu ...
Press return to continue.

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version                           Description
+++-=================================-=================================-==================================================================================
ii  os-prober                         1.39                              utility to detect other OSes on a set of drives

#592834#24
Date:
2013-09-28 11:27:49 UTC
From:
To:
Dear Maintainer,

I've just encountered the same scary message while installing memtest86+ :

$ sudo aptitude install memtest86+
Les NOUVEAUX paquets suivants vont être installés :
  memtest86+
0 paquets mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0 o/289 ko d'archives. Après dépaquetage, 2 398 ko seront utilisés.
Préconfiguration des paquets...
Sélection du paquet memtest86+ précédemment désélectionné.
(Lecture de la base de données... 182979 fichiers et répertoires déjà installés.)
Dépaquetage de memtest86+ (à partir de .../memtest86+_4.20-1.1_amd64.deb) ...
Paramétrage de memtest86+ (4.20-1.1) ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.10-3-amd64
Found initrd image: /boot/initrd.img-3.10-3-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
File descriptor 3 (pipe:[55211]) leaked on lvs invocation. Parent PID 15013: /bin/sh
  No volume groups found
done

#592834#29
Date:
2014-09-23 08:41:18 UTC
From:
To:
Dear Maintainer,

this message is now also shown on my system. I remember seeing it for a few weeks, I'm not sure if I saw it before.

When I reinstall the kernel with aptitude, the message appears:

When I directly invoke dpkg on the package file, there is no message:

It seems the silencing is not effective (anymore)?

Kind regards
Ralf

#592834#34
Date:
2015-06-30 20:28:33 UTC
From:
To:
Hi.

I see those messages as well.

root@bouzin:/home/jerome# dpkg-reconfigure grub-pc
Installing for i386-pc platform.
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4760: grub-install
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4760: grub-install
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4760: grub-install
Installation finished. No error reported.
Installing for i386-pc platform.
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4789: grub-install
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4789: grub-install
File descriptor 3 (pipe:[1038681]) leaked on vgs invocation. Parent PID
4789: grub-install
Installation finished. No error reported.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
done

I posted on stackexchange and was suggested to contribute to this
bugreport.

http://unix.stackexchange.com/questions/212958

Anything I can do to help track down the problem?

#592834#39
Date:
2015-08-23 19:20:16 UTC
From:
To:
I confirm, these warning are still here.
#592834#44
Date:
2016-08-11 14:32:33 UTC
From:
To:
The
happened to me then, not when root was a direct partition):

1) mount a rescuecd
2) mount -o noatime /dev/mapper/vg-lvroot /mnt
3) mount -o noatime /dev/sda2 /mnt/boot
3) for i in dev{,/pts} proc sys ; do mount -o bind /$i /mnt/$i ; done
4) env -i HOME=/root SHELL=/bin/zsh TERM=$TERM /usr/sbin/chroot \
      /mnt /bin/login -f root
5) edit /etc/fstab to make sure that the root mount is correct;
6) update-grub


Output:

rescue ~ # update-grub
Generating grub configuration file ...
File descriptor 4 (/) leaked on vgs invocation. Parent PID 22478:
/usr/sbin/grub-probe
File descriptor 4 (/) leaked on vgs invocation. Parent PID 22478:
/usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.4.0-34-generic
Found initrd image: /boot/initrd.img-4.4.0-34-generic
done


HTH
Mark

#592834#49
Date:
2017-03-09 11:57:36 UTC
From:
To:
Last couple of upgrades have seen similar results to the below:

Generating grub configuration file ...
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9473: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9473: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9486: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9486: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9499: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9499: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9512: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9512: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9572: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 9572: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.4.0-66-generic
Found initrd image: /boot/initrd.img-4.4.0-66-generic
Found linux image: /boot/vmlinuz-4.4.0-65-generic
Found initrd image: /boot/initrd.img-4.4.0-65-generic
Found linux image: /boot/vmlinuz-4.4.0-64-generic
Found initrd image: /boot/initrd.img-4.4.0-64-generic
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 10044: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on vgs invocation. Parent PID 10044: /usr/sbin/grub-probe
File descriptor 3 (pipe:[53933]) leaked on lvs invocation. Parent PID 10213: /bin/sh
Failed to probe /dev/sdb1 for filesystem type
Failed to probe /dev/sdc1 for filesystem type
Failed to probe /dev/sdd1 for filesystem type
done
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for libc-bin (2.23-0ubuntu5) ...Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic

#592834#54
Date:
2017-07-05 01:18:30 UTC
From:
To:

#592834#59
Date:
2017-07-06 16:07:27 UTC
From:
To:
It's just overly-verbose debug from "vgs". It's complaining about an
internal problem inside the lvm utilities. In this case it's really
harmless - the "vgs" program is only short-lived.

#592834#64
Date:
2017-07-15 12:55:13 UTC
From:
To:
I'm seeing this in a virtual machine created by virt-manager.

LVM on top of RAID 1.

I'm not sure what debugging information would be useful here, but please
do ask if you want any.

Regards, Faheem Mitha

#592834#69
Date:
2018-02-25 04:45:24 UTC
From:
To:
System

Linux kali 4.13.0-kali1-amd64 #1 SMP Debian 4.13.13-1kali1 (2017-11-17)
x86_64 GNU/Linux

Disks

NAME           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda              8:0    0 238.5G  0 disk
├─sda1           8:1    0  1000M  0 part
├─sda2           8:2    0   260M  0 part /boot/efi
├─sda3           8:3    0  1000M  0 part
├─sda4           8:4    0   128M  0 part
└─sda5           8:5    0 236.1G  0 part
   ├─vg5-Kali   254:0    0    36G  0 lvm  /
   ├─vg5-Bunsen 254:1    0     8G  0 lvm
   ├─vg5-Work   254:2    0    25G  0 lvm /home/bu5hman/Documents/work
   └─vg5-Home   254:3    0   150G  0 lvm  /home


os-prober version 1.76

Update log (partial)


Preparing to unpack .../15-broadcom-sta-dkms_6.30.223.271-8_all.deb ...


Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
  - Uninstallation
    - Deleting from: /lib/modules/4.13.0-kali1-amd64/updates/dkms/
  - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

depmod...

Backing up initrd.img-4.13.0-kali1-amd64 to
/boot/initrd.img-4.13.0-kali1-amd64.old-dkms
Making new initrd.img-4.13.0-kali1-amd64
(If next boot fails, revert to initrd.img-4.13.0-kali1-amd64.old-dkms image)
update-initramfs......

DKMS: uninstall completed.

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
  - Uninstallation
    - Deleting from: /lib/modules/4.14.0-kali1-amd64/updates/dkms/
  - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

depmod...

Backing up initrd.img-4.14.0-kali1-amd64 to
/boot/initrd.img-4.14.0-kali1-amd64.old-dkms
Making new initrd.img-4.14.0-kali1-amd64
(If next boot fails, revert to initrd.img-4.14.0-kali1-amd64.old-dkms image)
update-initramfs......

DKMS: uninstall completed.

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
  - Uninstallation
    - Deleting from: /lib/modules/4.14.0-kali3-amd64/updates/dkms/
  - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

depmod...

Backing up initrd.img-4.14.0-kali3-amd64 to
/boot/initrd.img-4.14.0-kali3-amd64.old-dkms
Making new initrd.img-4.14.0-kali3-amd64
(If next boot fails, revert to initrd.img-4.14.0-kali3-amd64.old-dkms image)
update-initramfs......

DKMS: uninstall completed.
------------------------------
Done.
Unpacking broadcom-sta-dkms (6.30.223.271-8) over (6.30.223.271-7) ...

Setting up broadcom-sta-dkms (6.30.223.271-8) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.13.0-kali1-amd64 4.14.0-kali3-amd64
Building initial module for 4.13.0-kali1-amd64
Done.

wl:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/4.13.0-kali1-amd64/updates/dkms/

depmod...

Backing up initrd.img-4.13.0-kali1-amd64 to
/boot/initrd.img-4.13.0-kali1-amd64.old-dkms
Making new initrd.img-4.13.0-kali1-amd64
(If next boot fails, revert to initrd.img-4.13.0-kali1-amd64.old-dkms image)
update-initramfs.....

DKMS: install completed.
Building initial module for 4.14.0-kali3-amd64
Done.

wl:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/4.14.0-kali3-amd64/updates/dkms/

depmod...

Backing up initrd.img-4.14.0-kali3-amd64 to
/boot/initrd.img-4.14.0-kali3-amd64.old-dkms
Making new initrd.img-4.14.0-kali3-amd64
(If next boot fails, revert to initrd.img-4.14.0-kali3-amd64.old-dkms image)
update-initramfs......

DKMS: install completed.

Setting up grub-efi-amd64 (2.02+dfsg1-1) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[54303]) leaked on vgs invocation. Parent PID
4426: grub-install
File descriptor 5 (/dev/sda2) leaked on vgs invocation. Parent PID 4426:
grub-install
File descriptor 3 (pipe:[54303]) leaked on vgs invocation. Parent PID
4426: grub-install
File descriptor 5 (/dev/sda2) leaked on vgs invocation. Parent PID 4426:
grub-install
Installation finished. No error reported.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.14.0-kali3-amd64
Found initrd image: /boot/initrd.img-4.14.0-kali3-amd64
Found linux image: /boot/vmlinuz-4.14.0-kali1-amd64
Found initrd image: /boot/initrd.img-4.14.0-kali1-amd64
Found linux image: /boot/vmlinuz-4.13.0-kali1-amd64
Found initrd image: /boot/initrd.img-4.13.0-kali1-amd64
Found BunsenLabs GNU/Linux 8.9 (Hydrogen) (8.9) on /dev/mapper/vg5-Bunsen
Found BunsenLabs GNU/Linux 8.9 (Hydrogen) (8.9) on /dev/mapper/vg5-Bunsen
Found linux image: /boot/vmlinuz-4.14.0-kali3-amd64
Found initrd image: /boot/initrd.img-4.14.0-kali3-amd64
Found linux image: /boot/vmlinuz-4.14.0-kali1-amd64
Found initrd image: /boot/initrd.img-4.14.0-kali1-amd64
Found linux image: /boot/vmlinuz-4.13.0-kali1-amd64
Found initrd image: /boot/initrd.img-4.13.0-kali1-amd64
Adding boot menu entry for EFI firmware configuration
done

#592834#74
Date:
2019-01-07 15:06:22 UTC
From:
To:
Hello there,

I still see the same on my installation:

Ubuntu 16.04:

Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools
4.4.0-140-generic /boot/vmlinuz-4.4.0-140-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-140-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub
4.4.0-140-generic /boot/vmlinuz-4.4.0-140-generic
Generating grub configuration file ...
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12417: grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12417: grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12484: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12484: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12503: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12503: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12522: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12522: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12542: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12542: /usr/sbin/grub-probe
Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no longer supported.
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12637: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12637: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.15.0-43-generic
Found initrd image: /boot/initrd.img-4.15.0-43-generic
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12771: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12771: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12791: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12791: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12811: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12811: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12831: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 12831: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.15.0-42-generic
Found initrd image: /boot/initrd.img-4.15.0-42-generic
Found linux image: /boot/vmlinuz-4.4.0-141-generic
Found initrd image: /boot/initrd.img-4.4.0-141-generic
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 13390: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on vgs invocation. Parent PID 13390: /usr/sbin/grub-probe
File descriptor 11
(/var/lib/dpkg/triggers/linux-update-4.15.0-39-generic (deleted))
leaked on lvs invocation. Parent PID 13546: /bin/sh
Adding boot menu entry for EFI firmware configuration


If, as commented above:

Then, is this tracked in the "vgs" program / fixed somehow?

Ντέντος Σταύρος

#592834#79
Date:
2019-08-07 16:14:50 UTC
From:
To:
Hey there, got this warning, dunno why, never read this before.

Here's what I did before I got this warning.
Be aware that I use parrot 4.6, which is based on debian but is a
rolling distribution.

The not upgraded (helt back) packages are some nvidia packages, not
needed on my system (no nvidia card installed). They has nothing to do
with grub.

Maybe this helps you to recreate this issue.


grub-efi-amd64   2.04-1parrot1

┌─[anonymous@parrot]─[~]
└──╼$ apt search grub | grep installed

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

grub-common/rolling,now 2.04-1parrot1 amd64 [installed]
grub-efi-amd64/rolling,now 2.04-1parrot1 amd64 [installed]
grub-efi-amd64-bin/rolling,now 2.04-1parrot1 amd64 [installed,automatic]
grub-imageboot/rolling,rolling,now 0.6 all [installed]
grub2-common/rolling,now 2.04-1parrot1 amd64 [installed,automatic]
hashcat/rolling,now 5.1.0+ds1-1 amd64 [installed,automatic]




┌─[anonymous@parrot]─[~]
└──╼$ sudo apt install grub-imageboot
[sudo] password for anonymous:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  syslinux-common
The following NEW packages will be installed:
  grub-imageboot syslinux-common
0 upgraded, 2 newly installed, 0 to remove and 16 not upgraded.
Need to get 1,242 kB of archives.
After this operation, 3,619 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://ftp.halifax.rwth-aachen.de/parrotsec rolling/main amd64
syslinux-common all 3:6.04~git20190206.bf6db5b4+dfsg1-1 [1,237 kB]
Get:2 https://ftp.halifax.rwth-aachen.de/parrotsec rolling/main amd64
grub-imageboot all 0.6 [4,354 B]
Fetched 1,242 kB in 2s (710 kB/s)
Selecting previously unselected package syslinux-common.
(Reading database ... 333752 files and directories currently installed.)
Preparing to unpack
.../syslinux-common_3%3a6.04~git20190206.bf6db5b4+dfsg1-1_all.deb ...
Unpacking syslinux-common (3:6.04~git20190206.bf6db5b4+dfsg1-1) ...
Selecting previously unselected package grub-imageboot.
Preparing to unpack .../grub-imageboot_0.6_all.deb ...
Unpacking grub-imageboot (0.6) ...
Setting up syslinux-common (3:6.04~git20190206.bf6db5b4+dfsg1-1) ...
Setting up grub-imageboot (0.6) ...
Copy syslinux memdisk to /boot/memdisk
Scanning application launchers
Updating active launchers
Done
┌─[anonymous@parrot]─[~]
└──╼$ sudo apt purge memtest86+
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  memtest86+*
0 upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
After this operation, 2,449 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 333972 files and directories currently installed.)
Removing memtest86+ (5.01-3+b1) ...
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.1.0-parrot1-3t-amd64
Found initrd image: /boot/initrd.img-5.1.0-parrot1-3t-amd64
Found linux image: /boot/vmlinuz-4.19.37-6parrot2-amd64
Found initrd image: /boot/initrd.img-4.19.37-6parrot2-amd64
Adding boot menu entry for EFI firmware configuration
Found memdisk: /memdisk
Imagepath /boot/images not found
done
(Reading database ... 333955 files and directories currently installed.)
Purging configuration files for memtest86+ (5.01-3+b1) ...
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.1.0-parrot1-3t-amd64
Found initrd image: /boot/initrd.img-5.1.0-parrot1-3t-amd64
Found linux image: /boot/vmlinuz-4.19.37-6parrot2-amd64
Found initrd image: /boot/initrd.img-4.19.37-6parrot2-amd64
Adding boot menu entry for EFI firmware configuration
Found memdisk: /memdisk
Imagepath /boot/images not found
done
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.1.0-parrot1-3t-amd64
Found initrd image: /boot/initrd.img-5.1.0-parrot1-3t-amd64
Found linux image: /boot/vmlinuz-4.19.37-6parrot2-amd64
Found initrd image: /boot/initrd.img-4.19.37-6parrot2-amd64
Adding boot menu entry for EFI firmware configuration
Found memdisk: /memdisk
Imagepath /boot/images not found
done
Scanning application launchers
Updating active launchers
Done
┌─[✗]─[anonymous@parrot]─[~]
└──╼$ sudo apt install memtest86+
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  hwtools memtester kernel-patch-badram memtest86 grub-pc | grub-legacy
The following NEW packages will be installed:
  memtest86+
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 78.1 kB of archives.
After this operation, 2,449 kB of additional disk space will be used.
Get:1 https://mirror.yandex.ru/mirrors/parrot rolling/main amd64
memtest86+ amd64 5.01-3+b1 [78.1 kB]
Fetched 78.1 kB in 1s (109 kB/s)
Preconfiguring packages ...
Selecting previously unselected package memtest86+.
(Reading database ... 333955 files and directories currently installed.)
Preparing to unpack .../memtest86+_5.01-3+b1_amd64.deb ...
Unpacking memtest86+ (5.01-3+b1) ...
Setting up memtest86+ (5.01-3+b1) ...
Generating grub configuration file ...
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11444: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11444: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11454: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11454: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11464: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11464: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11475: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11475: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11540: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11540: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11550: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11550: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11560: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11560: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11570: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11570: /usr/sbin/grub-probe
Found background image: /usr/share/images/desktop-base/desktop-grub.png
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11613: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11613: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.1.0-parrot1-3t-amd64
Found initrd image: /boot/initrd.img-5.1.0-parrot1-3t-amd64
Found linux image: /boot/vmlinuz-4.19.37-6parrot2-amd64
Found initrd image: /boot/initrd.img-4.19.37-6parrot2-amd64
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11982: /usr/sbin/grub-probe
File descriptor 3 (pipe:[99670]) leaked on vgs invocation. Parent PID
11982: /usr/sbin/grub-probe
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
File descriptor 3 (pipe:[99670]) leaked on lvs invocation. Parent PID
12175: /bin/sh
Adding boot menu entry for EFI firmware configuration
Found memdisk: /memdisk
Imagepath /boot/images not found
done
Scanning application launchers
Updating active launchers
Done



PS: memtest86+ does not work from grub for me, that's why I'm trying
"something", not sure if anything helps.

#592834#84
Date:
2020-08-16 09:49:18 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
This message still appears in stable upgrades.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
sudo apt full-upgrade

   * What was the outcome of this action?
As a sysadmin one should investigate these warnings to insure you have
taken all precautions to
secure your system.  Search BTS you will find this bug report.  It es
mentioned that the warnings
are harmless without a in-depth documentation or rational of why they
are harmless.  Only the
prominence of the author offers comfort.  Continued investigation of
the references package
(vgs > lvm2) offers bug #466138 and bug #639773 as further indication
that these messages are
keep to be useful for security auditing under certain
constraints.  Constraints that a sysadmin
may hard be pressed to judge correctly.

I understand the argument that access to file descriptors to sub
processes could cause security
issues.  I also understand that the parent processes may want to keep
file descriptors open
across invocations of sub processes.  Maybe there should be some common
practice to handle
closing those descriptors during the invocation of the sub process
without burdening the parent
process.

   * What outcome did you expect instead?
But IIUC these warnings are targeted at developers and maintainers not
at the many more sysadmins
which scramble to secure their production systems.

If there is nothing that the os-prober developes or maintainers can do,
then maybe:
a) this bug should be reassigned to lvm2
b) there should be some assessment on whether some mechanism should be
introduced to suppress
these messages should only be emitted in the "testing" suite, and
suppressed once the package is
stable.

Thank you for considering!

#592834#89
Date:
2021-09-07 17:35:18 UTC
From:
To:
I just updated my 20.04 install, it installed 5.4.0-84 (among other
things). I rebooted and then used apt autoremove to remove anything old.
Here's what I got:

    root@rct2:/home/farokh# apt autoremove
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
       linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic
    linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
       linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic
    linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
       linux-modules-extra-5.4.0-77-generic
    linux-modules-extra-5.4.0-80-generic
    0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
    After this operation, 755 MB disk space will be freed.
    Do you want to continue? [Y/n]
    (Reading database ... 187508 files and directories currently installed.)
    Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
    Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
    Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
    Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
    /etc/kernel/postrm.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.4.0-84-generic
    Found initrd image: /boot/initrd.img-5.4.0-84-generic
    Found linux image: /boot/vmlinuz-5.4.0-81-generic
    Found initrd image: /boot/initrd.img-5.4.0-81-generic
    Found linux image: /boot/vmlinuz-5.4.0-80-generic
    Found initrd image: /boot/initrd.img-5.4.0-80-generic
    done
    Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
    Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
    /etc/kernel/postrm.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
    Found linux image: /boot/vmlinuz-5.4.0-84-generic
    Found initrd image: /boot/initrd.img-5.4.0-84-generic
    Found linux image: /boot/vmlinuz-5.4.0-81-generic
    Found initrd image: /boot/initrd.img-5.4.0-81-generic
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on lvs invocation. Parent PID 4086: /bin/sh
    done
    Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...


Here is all the text from the ssh sessions:


    farokhs-Mac-Pro:~ farokh$ ssh rctmail
    farokh@mail.rocklandtimes.com's password:
    Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-81-generic x86_64)

      * Documentation:  https://help.ubuntu.com
      * Management:     https://landscape.canonical.com
      * Support:        https://ubuntu.com/advantage

       System information as of Tue 07 Sep 2021 01:20:58 PM EDT

       System load:  0.01                Processes: 273
       Usage of /:   50.1% of 194.88GB   Users logged in:         0
       Memory usage: 14%                 IPv4 address for ens160:
    10.185.4.94
       Swap usage:   0%                  IPv4 address for ens192:
    165.254.4.94

      * Super-optimized for small spaces - read how we shrank the memory
        footprint of MicroK8s to make it the smallest full K8s around.

        https://ubuntu.com/blog/microk8s-memory-optimisation

    3 updates can be applied immediately.
    To see these additional updates run: apt list --upgradable


    Last login: Mon Aug 23 17:40:26 2021 from 165.254.4.10
    farokh@rct2:~$ sudo su
    [sudo] password for farokh:
    root@rct2:/home/farokh# apt update
    Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
    Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
    [114 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
    [101 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
    [114 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    Packages [1,202 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main
    Translation-en [257 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    c-n-f Metadata [14.1 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted
    amd64 Packages [440 kB]
    Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted
    Translation-en [62.9 kB]
    Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe
    amd64 Packages [853 kB]
    Fetched 3,157 kB in 1s (2,450 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    6 packages can be upgraded. Run 'apt list --upgradable' to see them.
    root@rct2:/home/farokh# apt upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following NEW packages will be installed:
       linux-headers-5.4.0-84 linux-headers-5.4.0-84-generic
    linux-image-5.4.0-84-generic linux-modules-5.4.0-84-generic
       linux-modules-extra-5.4.0-84-generic
    The following packages will be upgraded:
       linux-generic linux-headers-generic linux-image-generic
    python-apt-common python3-apt thermald
    6 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
    Need to get 76.0 MB of archives.
    After this operation, 378 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    python-apt-common all 2.0.0ubuntu0.20.04.6 [17.1 kB]
    Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    python3-apt amd64 2.0.0ubuntu0.20.04.6 [154 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-modules-5.4.0-84-generic amd64 5.4.0-84.94 [14.8 MB]
    Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-image-5.4.0-84-generic amd64 5.4.0-84.94 [8,992 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-modules-extra-5.4.0-84-generic amd64 5.4.0-84.94 [39.4 MB]
    Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-generic amd64 5.4.0.84.88 [1,896 B]
    Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-image-generic amd64 5.4.0.84.88 [2,568 B]
    Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-headers-5.4.0-84 all 5.4.0-84.94 [11.0 MB]
    Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-headers-5.4.0-84-generic amd64 5.4.0-84.94 [1,396 kB]
    Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    linux-headers-generic amd64 5.4.0.84.88 [2,436 B]
    Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
    thermald amd64 1.9.1-1ubuntu0.5 [233 kB]
    Fetched 76.0 MB in 2s (48.1 MB/s)
    (Reading database ... 151087 files and directories currently installed.)
    Preparing to unpack
    .../00-python-apt-common_2.0.0ubuntu0.20.04.6_all.deb ...
    Unpacking python-apt-common (2.0.0ubuntu0.20.04.6) over
    (2.0.0ubuntu0.20.04.5) ...
    Preparing to unpack
    .../01-python3-apt_2.0.0ubuntu0.20.04.6_amd64.deb ...
    Unpacking python3-apt (2.0.0ubuntu0.20.04.6) over
    (2.0.0ubuntu0.20.04.5) ...
    Selecting previously unselected package linux-modules-5.4.0-84-generic.
    Preparing to unpack
    .../02-linux-modules-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
    Unpacking linux-modules-5.4.0-84-generic (5.4.0-84.94) ...
    Selecting previously unselected package linux-image-5.4.0-84-generic.
    Preparing to unpack
    .../03-linux-image-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
    Unpacking linux-image-5.4.0-84-generic (5.4.0-84.94) ...
    Selecting previously unselected package
    linux-modules-extra-5.4.0-84-generic.
    Preparing to unpack
    .../04-linux-modules-extra-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
    Unpacking linux-modules-extra-5.4.0-84-generic (5.4.0-84.94) ...
    Preparing to unpack .../05-linux-generic_5.4.0.84.88_amd64.deb ...
    Unpacking linux-generic (5.4.0.84.88) over (5.4.0.81.85) ...
    Preparing to unpack .../06-linux-image-generic_5.4.0.84.88_amd64.deb ...
    Unpacking linux-image-generic (5.4.0.84.88) over (5.4.0.81.85) ...
    Selecting previously unselected package linux-headers-5.4.0-84.
    Preparing to unpack
    .../07-linux-headers-5.4.0-84_5.4.0-84.94_all.deb ...
    Unpacking linux-headers-5.4.0-84 (5.4.0-84.94) ...
    Selecting previously unselected package linux-headers-5.4.0-84-generic.
    Preparing to unpack
    .../08-linux-headers-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
    Unpacking linux-headers-5.4.0-84-generic (5.4.0-84.94) ...
    Preparing to unpack
    .../09-linux-headers-generic_5.4.0.84.88_amd64.deb ...
    Unpacking linux-headers-generic (5.4.0.84.88) over (5.4.0.81.85) ...
    Preparing to unpack .../10-thermald_1.9.1-1ubuntu0.5_amd64.deb ...
    Unpacking thermald (1.9.1-1ubuntu0.5) over (1.9.1-1ubuntu0.4) ...
    Setting up linux-headers-5.4.0-84 (5.4.0-84.94) ...
    Setting up linux-modules-5.4.0-84-generic (5.4.0-84.94) ...
    Setting up python-apt-common (2.0.0ubuntu0.20.04.6) ...
    Setting up thermald (1.9.1-1ubuntu0.5) ...
    Setting up python3-apt (2.0.0ubuntu0.20.04.6) ...
    Setting up linux-headers-5.4.0-84-generic (5.4.0-84.94) ...
    Setting up linux-headers-generic (5.4.0.84.88) ...
    Setting up linux-image-5.4.0-84-generic (5.4.0-84.94) ...
    I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-81-generic
    I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-81-generic
    I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-84-generic
    I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-84-generic
    Setting up linux-modules-extra-5.4.0-84-generic (5.4.0-84.94) ...
    Setting up linux-image-generic (5.4.0.84.88) ...
    Setting up linux-generic (5.4.0.84.88) ...
    Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
    Processing triggers for man-db (2.9.1-1) ...
    Processing triggers for linux-image-5.4.0-84-generic (5.4.0-84.94) ...
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-5.4.0-84-generic
    /etc/kernel/postinst.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.4.0-84-generic
    Found initrd image: /boot/initrd.img-5.4.0-84-generic
    Found linux image: /boot/vmlinuz-5.4.0-81-generic
    Found initrd image: /boot/initrd.img-5.4.0-81-generic
    Found linux image: /boot/vmlinuz-5.4.0-80-generic
    Found initrd image: /boot/initrd.img-5.4.0-80-generic
    Found linux image: /boot/vmlinuz-5.4.0-77-generic
    Found initrd image: /boot/initrd.img-5.4.0-77-generic
    done
    root@rct2:/home/farokh# shutdown -r now
    Connection to mail.rocklandtimes.com closed by remote host.
    Connection to mail.rocklandtimes.com closed.
    farokhs-Mac-Pro:~ farokh$ ssh rctmail
    farokh@mail.rocklandtimes.com's password:
    Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-84-generic x86_64)

      * Documentation:  https://help.ubuntu.com
      * Management:     https://landscape.canonical.com
      * Support:        https://ubuntu.com/advantage

       System information as of Tue 07 Sep 2021 01:25:56 PM EDT

       System load:  0.81                Processes: 279
       Usage of /:   50.3% of 194.88GB   Users logged in:         0
       Memory usage: 8%                  IPv4 address for ens160:
    10.185.4.94
       Swap usage:   0%                  IPv4 address for ens192:
    165.254.4.94

      * Super-optimized for small spaces - read how we shrank the memory
        footprint of MicroK8s to make it the smallest full K8s around.

        https://ubuntu.com/blog/microk8s-memory-optimisation

    0 updates can be applied immediately.


    Last login: Tue Sep  7 13:21:00 2021 from 165.254.4.10
    farokh@rct2:~$ sudo su
    [sudo] password for farokh:
    root@rct2:/home/farokh# apt autoremove
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
       linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic
    linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
       linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic
    linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
       linux-modules-extra-5.4.0-77-generic
    linux-modules-extra-5.4.0-80-generic
    0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
    After this operation, 755 MB disk space will be freed.
    Do you want to continue? [Y/n]
    (Reading database ... 187508 files and directories currently installed.)
    Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
    Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
    Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
    Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
    /etc/kernel/postrm.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.4.0-84-generic
    Found initrd image: /boot/initrd.img-5.4.0-84-generic
    Found linux image: /boot/vmlinuz-5.4.0-81-generic
    Found initrd image: /boot/initrd.img-5.4.0-81-generic
    Found linux image: /boot/vmlinuz-5.4.0-80-generic
    Found initrd image: /boot/initrd.img-5.4.0-80-generic
    done
    Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
    Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
    /etc/kernel/postrm.d/initramfs-tools:
    update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
    /etc/kernel/postrm.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
    Found linux image: /boot/vmlinuz-5.4.0-84-generic
    Found initrd image: /boot/initrd.img-5.4.0-84-generic
    Found linux image: /boot/vmlinuz-5.4.0-81-generic
    Found initrd image: /boot/initrd.img-5.4.0-81-generic
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
    File descriptor 10
    (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted))
    leaked on lvs invocation. Parent PID 4086: /bin/sh
    done
    Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
    Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...
    root@rct2:/home/farokh# shutdown -r now
    Connection to mail.rocklandtimes.com closed by remote host.
    Connection to mail.rocklandtimes.com closed.
    farokhs-Mac-Pro:~ farokh$

#592834#94
Date:
2023-01-06 03:50:57 UTC
From:
To:
root@grissom:~# cat /etc/debian_version
11.6
root@grissom:~# uname -a
Linux grissom 5.10.0-20-686 #1 SMP Debian 5.10.158-2 (2022-12-13) i586 GNU/Linux
root@grissom:~# free
               total        used        free      shared  buff/cache   available
Mem:           228Mi        43Mi        63Mi       0.0Ki       121Mi       175Mi
Swap:          487Mi        14Mi       473Mi
Total:         716Mi        58Mi       536Mi
root@grissom:~#

Yes, I know Bullseye doesn't officially support so little memory.
However, I installed Bullseye fresh over a year and have been running
unattended-upgrades ever since, and not seen this until just now.

I left the machine off for about 6 months, so the last upgrade, on
January 3, ran a lot of updates. One of them was grub itself: grub-pc
(2.06-3~deb11u5) over (2.04-20). Possible regression?

root@grissom:~# apt install memtest86 memtest86+
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  hwtools memtester kernel-patch-badram grub2 | grub mtools
The following NEW packages will be installed:
  memtest86 memtest86+
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 125 kB of archives.
After this operation, 2,697 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main i386 memtest86 i386 4.3.7-3+b1 [47.7 kB]
Get:2 http://deb.debian.org/debian bullseye/main i386 memtest86+ i386 5.01-3.1 [77.6 kB]
Fetched 125 kB in 1s (123 kB/s)
Preconfiguring packages ...
Selecting previously unselected package memtest86.
(Reading database ... 46032 files and directories currently installed.)
Preparing to unpack .../memtest86_4.3.7-3+b1_i386.deb ...
Unpacking memtest86 (4.3.7-3+b1) ...
Selecting previously unselected package memtest86+.
Preparing to unpack .../memtest86+_5.01-3.1_i386.deb ...
Unpacking memtest86+ (5.01-3.1) ...
Setting up memtest86+ (5.01-3.1) ...
Generating grub configuration file ...
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6180: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6180: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6188: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6188: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6196: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6196: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6204: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6204: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6250: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6250: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.10.0-20-686
Found initrd image: /boot/initrd.img-5.10.0-20-686
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6323: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6323: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6331: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6331: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6339: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6339: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6347: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6347: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.10.0-16-686
Found initrd image: /boot/initrd.img-5.10.0-16-686
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6596: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6596: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6622: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6622: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6630: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6630: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6638: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6638: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6646: /usr/sbin/grub-probe
File descriptor 3 (pipe:[47062]) leaked on vgs invocation. Parent PID 6646: /usr/sbin/grub-probe
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
Setting up memtest86 (4.3.7-3+b1) ...
Generating grub configuration file ...
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6882: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6882: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6890: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6890: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6898: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6898: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6906: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6906: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6952: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 6952: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.10.0-20-686
Found initrd image: /boot/initrd.img-5.10.0-20-686
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7025: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7025: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7033: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7033: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7041: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7041: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7049: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7049: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.10.0-16-686
Found initrd image: /boot/initrd.img-5.10.0-16-686
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7298: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7298: /usr/sbin/grub-probe
Found memtest86 image: /boot/memtest86.bin
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7328: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7328: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7336: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7336: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7344: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7344: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7352: /usr/sbin/grub-probe
File descriptor 3 (pipe:[52170]) leaked on vgs invocation. Parent PID 7352: /usr/sbin/grub-probe
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
…


Similar results on an identical machine that has been running
continuously (except for required reboots) since September, 2021.

#592834#99
Date:
2023-02-17 15:29:51 UTC
From:
To:
The unattended upgrade of grub failed (due to the fact that I had
replaced the hard drive and used dd to copy sector for sector from the
old one to the new, and that changed the identity of the hard drive).
Per the instructions in the unattended upgrade message, I ran the
following:

root@white:~# DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
Setting up grub-pc (2.06-8) ...
grub-pc: Running grub-install ...
Installing for i386-pc platform.
File descriptor 3 (pipe:[225467]) leaked on vgs invocation. Parent PID 3611: grub-install
File descriptor 3 (pipe:[225467]) leaked on vgs invocation. Parent PID 3611: grub-install
File descriptor 3 (pipe:[225467]) leaked on vgs invocation. Parent PID 3611: grub-install
Installation finished. No error reported.
  grub-install success for /dev/sda
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1.0-3-686
Found initrd image: /boot/initrd.img-6.1.0-3-686
Found linux image: /boot/vmlinuz-6.1.0-2-686
Found initrd image: /boot/initrd.img-6.1.0-2-686
Found memtest86+ image: /boot/memtest86+x32.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
root@white:~# cat /etc/debian_version
bookworm/sid
root@white:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux bookworm/sid
Release:	n/a
Codename:	bookworm
root@white:~# pre grub
grub2-common	2.06-8		i386
grub-common	2.06-8		i386
grub-pc	2.06-8		i386
grub-pc-bin	2.06-8		i386
root@white:~#

This machine is identical to the one on which I encountered this bug in
January. Both are Compulab Fit-PCs.

#592834#104
Date:
2023-03-08 13:25:29 UTC
From:
To:
Dear Maintainer,

I encountered the following message while did the latest patching of the
Debian 12 installation:

Setting up libndctl6:amd64 (76.1-1) ...
Setting up libxendevicemodel1:amd64 (4.17.0+46-gaaf74a532c-1) ...
Setting up mdadm (4.2-5) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093640: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093640: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093667: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093667: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093694: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093694: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093721: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093721: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093824: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2093824: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-6.1.0-5-amd64
Found initrd image: /boot/initrd.img-6.1.0-5-amd64
Found linux image: /boot/vmlinuz-6.1.0-3-amd64
Found initrd image: /boot/initrd.img-6.1.0-3-amd64
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2094286: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID
2094286: /usr/sbin/grub-probe
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Setting up libxenhypfs1:amd64 (4.17.0+46-gaaf74a532c-1) ...
Setting up python3-apt (2.5.3) ...
Setting up libxenmisc4.17:amd64 (4.17.0+46-gaaf74a532c-1) ...
Processing triggers for initramfs-tools (0.142) ...

/boot is not on lvm but on raid1 - ext4. The other parts of the filesystem
is lvm indeed.

The softwares:
~# dpkg -l grub*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version      Architecture Description
+++-=====================-============-============-=================================================================
un  grub                  <none>       <none>       (no description
available)
un  grub-cloud-amd64      <none>       <none>       (no description
available)
ii  grub-common           2.06-8       amd64        GRand Unified
Bootloader (common files)
un  grub-coreboot         <none>       <none>       (no description
available)
un  grub-doc              <none>       <none>       (no description
available)
un  grub-efi              <none>       <none>       (no description
available)
ii  grub-efi-amd64        2.06-8       amd64        GRand Unified
Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin    2.06-8       amd64        GRand Unified
Bootloader, version 2 (EFI-AMD64 modules)
ii  grub-efi-amd64-signed 1+2.06+8     amd64        GRand Unified
Bootloader, version 2 (amd64 UEFI signed by Debian)
un  grub-efi-arm          <none>       <none>       (no description
available)
un  grub-efi-arm64        <none>       <none>       (no description
available)
un  grub-efi-ia32         <none>       <none>       (no description
available)
un  grub-efi-ia64         <none>       <none>       (no description
available)
un  grub-emu              <none>       <none>       (no description
available)
un  grub-ieee1275         <none>       <none>       (no description
available)
un  grub-legacy           <none>       <none>       (no description
available)
un  grub-legacy-doc       <none>       <none>       (no description
available)
un  grub-linuxbios        <none>       <none>       (no description
available)
un  grub-pc               <none>       <none>       (no description
available)
un  grub-uboot            <none>       <none>       (no description
available)
un  grub-xen              <none>       <none>       (no description
available)
un  grub-yeeloong         <none>       <none>       (no description
available)
un  grub2                 <none>       <none>       (no description
available)
ii  grub2-common          2.06-8       amd64        GRand Unified
Bootloader (common files for version 2)

:~# dpkg -l lvm*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  lvm2           2.03.16-2    amd64        Linux Logical Volume Manager

The filesystem:
:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs
(rw,nosuid,relatime,size=8039752k,nr_inodes=2009938,mode=755,inode64)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=1612448k,mode=755,inode64)
/dev/mapper/mirrordata-root on / type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs
(rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14430)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs
(rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysctl.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
configfs on /sys/kernel/config type configfs
(rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/mapper/mirrordata-tmp on /tmp type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/mirrordata-var on /var type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/mirrordata-home on /home type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/mirrordata-lxccassiopeia on /var/lib/lxc/lxccassiopeia type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/md0 on /boot type ext4 (rw,relatime,stripe=4)
/dev/mapper/mirrordata-varlog on /var/log type xfs
(rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/md3 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs
(ro,nosuid,nodev,noexec,relatime,mode=700)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
lxcfs on /var/lib/lxcfs type fuse.lxcfs
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
tmpfs on /run/user/1301 type tmpfs
(rw,nosuid,nodev,relatime,size=1612444k,nr_inodes=403111,mode=700,uid=1301,gid=1301,inode64)
(rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.5,mountvers=3,mountport=30000,mountproto=udp,local_lock=none,addr=192.168.0.5)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,size=1612444k,nr_inodes=403111,mode=700,uid=1000,gid=1000,inode64)

I hope with this description you can reproduce the issue.

Best regards,
Attila

#592834#109
Date:
2023-03-17 09:02:05 UTC
From:
To:
Dear Maintainer,

I just realized that I get similar warnings (?) on my recently installed
bookworm:

update-grub2
Generating grub configuration file ...
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20457: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20457: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20460: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20460: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20463: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20463: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20466: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20466: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20495: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20495: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20498: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20498: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20501: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20501: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20504: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20504: /usr/sbin/grub-probe
Found background image: /usr/share/images/desktop-base/desktop-grub.png
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20525: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20525: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-6.1.0-6-amd64
Found initrd image: /boot/initrd.img-6.1.0-6-amd64
Found linux image: /boot/vmlinuz-6.1.0-5-amd64
Found initrd image: /boot/initrd.img-6.1.0-5-amd64
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20873: /usr/sbin/grub-probe
File descriptor 17 (/dev/dri/card0) leaked on vgs invocation. Parent PID 20873: /usr/sbin/grub-probe
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

You can find some informations about my system in my installation
report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033064

Feel free to ask if you need further details.

Best regards,
Martin