Debian Bug report logs - #592834
grub-pc: File descriptor leaked on lvs invocation

version graph

Package: os-prober; Maintainer for os-prober is Debian Install System Team <[email protected]>; Source for os-prober is src:os-prober (PTS, buildd, popcon).

Reported by: Wolfram Quester <[email protected]>

Date: Fri, 13 Aug 2010 06:48:05 UTC

Severity: minor

Found in versions os-prober/1.63, os-prober/1.64, os-prober/1.77, os-prober/1.81

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], GRUB Maintainers <[email protected]>:
Bug#592834; Package grub-pc. (Fri, 13 Aug 2010 06:48:08 GMT) (full text, mbox, link).


Acknowledgement sent to Wolfram Quester <[email protected]>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <[email protected]>. (Fri, 13 Aug 2010 06:48:08 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Wolfram Quester <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: grub-pc: File descriptor leaked on lvs invocation
Date: Fri, 13 Aug 2010 08:45:24 +0200
[Message part 1 (text/plain, inline)]
Package: grub-pc
Version: 1.98+20100804-2
Severity: minor


Hi altogether,

I justed noted during an update the following message:
> File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
>   No volume groups found

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

With best wishes,

Wolfi



[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], GRUB Maintainers <[email protected]>:
Bug#592834; Package grub-pc. (Fri, 13 Aug 2010 14:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <[email protected]>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <[email protected]>. (Fri, 13 Aug 2010 14:45:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Colin Watson <[email protected]>
To: Wolfram Quester <[email protected]>, [email protected]
Subject: Re: Bug#592834: grub-pc: File descriptor leaked on lvs invocation
Date: Fri, 13 Aug 2010 15:41:05 +0100
On Fri, Aug 13, 2010 at 08:45:24AM +0200, Wolfram Quester wrote:
> I justed noted during an update the following message:
> > File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
> >   No volume groups found
> 
> Installation goes well and it doesn't seem to be a big issue, but nonetheless
> the message sounds scary.

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.)

-- 
Colin Watson                                       [[email protected]]




Information forwarded to [email protected], GRUB Maintainers <[email protected]>:
Bug#592834; Package grub-pc. (Fri, 13 Aug 2010 19:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Wolfram Quester <[email protected]>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <[email protected]>. (Fri, 13 Aug 2010 19:30:03 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Wolfram Quester <[email protected]>
To: Colin Watson <[email protected]>
Cc: [email protected]
Subject: Re: Bug#592834: grub-pc: File descriptor leaked on lvs invocation
Date: Fri, 13 Aug 2010 21:27:17 +0200
[Message part 1 (text/plain, inline)]
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


On Fri, Aug 13, 2010 at 03:41:05PM +0100, Colin Watson wrote:
> On Fri, Aug 13, 2010 at 08:45:24AM +0200, Wolfram Quester wrote:
> > I justed noted during an update the following message:
> > > File descriptor 32 (/dev/tty) leaked on lvs invocation. Parent PID 11821: /bin/sh
> > >   No volume groups found
> > 
> > Installation goes well and it doesn't seem to be a big issue, but nonetheless
> > the message sounds scary.
> 
> Could I have the full output from this update, for more context?
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.


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

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

> 
> (I'm asking these questions because grub-pc doesn't call lvs directly.)
> 
> -- 
> Colin Watson                                       [[email protected]]
> 
[template_grub-pc.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package 'grub-pc' to 'os-prober'. Request was from Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> to [email protected]. (Sun, 03 Apr 2011 19:51:04 GMT) (full text, mbox, link).


Bug No longer marked as found in versions grub2/1.98+20100804-2. Request was from Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> to [email protected]. (Sun, 03 Apr 2011 19:51:05 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Sat, 28 Sep 2013 11:30:09 GMT) (full text, mbox, link).


Acknowledgement sent to Nicolas Le Cam <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sat, 28 Sep 2013 11:30:09 GMT) (full text, mbox, link).


Message #24 received at [email protected] (full text, mbox, reply):

From: Nicolas Le Cam <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: grub-pc: File descriptor leaked on lvs invocation
Date: Sat, 28 Sep 2013 13:27:49 +0200
Package: os-prober
Version: 1.63
Followup-For: Bug #592834

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

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages os-prober depends on:
ii  libc6  2.17-92+b1

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Tue, 23 Sep 2014 08:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ralf Jung <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Tue, 23 Sep 2014 08:45:05 GMT) (full text, mbox, link).


Message #29 received at [email protected] (full text, mbox, reply):

From: Ralf Jung <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: grub-pc: File descriptor leaked on lvs invocation
Date: Tue, 23 Sep 2014 10:41:18 +0200
Package: os-prober
Version: 1.64
Followup-For: Bug #592834

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:

> $ sudo aptitude reinstall linux-image-3.16-2-amd64 
> The following packages will be REINSTALLED:
>   linux-image-3.16-2-amd64 
> 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
> Need to get 0 B/33.5 MB of archives. After unpacking 0 B will be used.
> Preconfiguring packages ...              
> (Reading database ... 360946 files and directories currently installed.)
> Preparing to unpack .../linux-image-3.16-2-amd64_3.16.3-2_amd64.deb ...
> Unpacking linux-image-3.16-2-amd64 (3.16.3-2) over (3.16.3-2) ...
> Setting up linux-image-3.16-2-amd64 (3.16.3-2) ...
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-3.16-2-amd64
> /etc/kernel/postinst.d/zz-update-grub:
> Generating grub.cfg ...
> Found background image: .background_cache.png
> Found linux image: /boot/vmlinuz-3.16.3
> Found initrd image: /boot/initrd.img-3.16.3
> Found linux image: /boot/vmlinuz-3.16-2-amd64
> Found initrd image: /boot/initrd.img-3.16-2-amd64
> Found linux image: /boot/vmlinuz-3.15.10
> Found initrd image: /boot/initrd.img-3.15.10
> Found linux image: /boot/vmlinuz-3.14-2-amd64
> Found initrd image: /boot/initrd.img-3.14-2-amd64
> File descriptor 64 (/dev/pts/3) leaked on lvs invocation. Parent PID 10780: /bin/sh
> Found Windows 7 (loader) on /dev/sda1
> done

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

> $ sudo dpkg -i /var/cache/apt/archives/linux-image-3.16-2-amd64_3.16.3-2_amd64.deb 
> (Reading database ... 360946 files and directories currently installed.)
> Preparing to unpack .../linux-image-3.16-2-amd64_3.16.3-2_amd64.deb ...
> Unpacking linux-image-3.16-2-amd64 (3.16.3-2) over (3.16.3-2) ...
> Setting up linux-image-3.16-2-amd64 (3.16.3-2) ...
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-3.16-2-amd64
> /etc/kernel/postinst.d/zz-update-grub:
> Generating grub.cfg ...
> Found background image: .background_cache.png
> Found linux image: /boot/vmlinuz-3.16.3
> Found initrd image: /boot/initrd.img-3.16.3
> Found linux image: /boot/vmlinuz-3.16-2-amd64
> Found initrd image: /boot/initrd.img-3.16-2-amd64
> Found linux image: /boot/vmlinuz-3.15.10
> Found initrd image: /boot/initrd.img-3.15.10
> Found linux image: /boot/vmlinuz-3.14-2-amd64
> Found initrd image: /boot/initrd.img-3.14-2-amd64
> Found Windows 7 (loader) on /dev/sda1
> done

It seems the silencing is not effective (anymore)?

Kind regards
Ralf

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages os-prober depends on:
ii  libc6  2.19-11

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Tue, 30 Jun 2015 20:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jérôme <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Tue, 30 Jun 2015 20:30:04 GMT) (full text, mbox, link).


Message #34 received at [email protected] (full text, mbox, reply):

From: Jérôme <[email protected]>
To: [email protected]
Subject: Re: grub-pc: File descriptor leaked on lvs invocation
Date: Tue, 30 Jun 2015 22:28:33 +0200
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?

-- 
Jérôme



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Sun, 23 Aug 2015 19:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Jayson Willson <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sun, 23 Aug 2015 19:21:05 GMT) (full text, mbox, link).


Message #39 received at [email protected] (full text, mbox, reply):

From: Jayson Willson <[email protected]>
To: [email protected]
Subject: Still here
Date: Sun, 23 Aug 2015 22:20:16 +0300
I confirm, these warning are still here.

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Thu, 11 Aug 2016 14:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Mark van Dijk <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Thu, 11 Aug 2016 14:36:03 GMT) (full text, mbox, link).


Message #44 received at [email protected] (full text, mbox, reply):

From: Mark van Dijk <[email protected]>
To: [email protected]
Subject: Re: Still here
Date: Thu, 11 Aug 2016 16:32:33 +0200
The

On Sun, 23 Aug 2015 22:20:16 +0300 Jayson Willson
<[email protected]> wrote:
> 
> I confirm, these warning are still here.

Easy to reproduce, make sure that root is on a lvm vgroup (it only
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



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Thu, 09 Mar 2017 13:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Steve M <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Thu, 09 Mar 2017 13:00:05 GMT) (full text, mbox, link).


Message #49 received at [email protected] (full text, mbox, reply):

From: Steve M <[email protected]>
To: [email protected]
Subject: Grub messages during upgrade
Date: Thu, 09 Mar 2017 19:57:36 +0800
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




Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Wed, 05 Jul 2017 01:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Wed, 05 Jul 2017 01:27:05 GMT) (full text, mbox, link).


Message #54 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: [email protected]
Subject: Re: Grub messages during upgrade
Date: Tue, 4 Jul 2017 21:18:30 -0400
On Thu, 09 Mar 2017 19:57:36 +0800 Steve M <[email protected]> wrote:
> 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

I am experiencing the exact same messages.  Brand new Debian Stretch install, root file system installed on LVM volume.  Messages occur during subsequent apt-get install of mdadm package from "official" Debian 9.0.0 BluRay DVD (the apt-get install was performed immediately after a successful shutdown and reboot).  Same "pairs" of Parent PIDS: 1308,1308, 1338,1338, 1368,1368, 1398,1398, then 1563, etc.



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Thu, 06 Jul 2017 16:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Steve McIntyre <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Thu, 06 Jul 2017 16:09:03 GMT) (full text, mbox, link).


Message #59 received at [email protected] (full text, mbox, reply):

From: Steve McIntyre <[email protected]>
To: [email protected], [email protected]
Subject: Re: Bug#592834: Grub messages during upgrade
Date: Thu, 6 Jul 2017 17:07:27 +0100
On Tue, Jul 04, 2017 at 09:18:30PM -0400, [email protected] wrote:
>On Thu, 09 Mar 2017 19:57:36 +0800 Steve M <[email protected]> wrote:
>> 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
>
>I am experiencing the exact same messages.  Brand new Debian Stretch
>install, root file system installed on LVM volume.  Messages occur
>during subsequent apt-get install of mdadm package from "official"
>Debian 9.0.0 BluRay DVD (the apt-get install was performed
>immediately after a successful shutdown and reboot).  Same "pairs" of
>Parent PIDS: 1308,1308, 1338,1338, 1368,1368, 1398,1398, then 1563,
>etc.

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.

-- 
Steve McIntyre, Cambridge, UK.                                [email protected]
Is there anybody out there?




Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Sat, 15 Jul 2017 13:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Faheem Mitha <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sat, 15 Jul 2017 13:06:03 GMT) (full text, mbox, link).


Message #64 received at [email protected] (full text, mbox, reply):

From: Faheem Mitha <[email protected]>
To: [email protected]
Subject: me too (on a libvirt VM generated by virt-manager)
Date: Sat, 15 Jul 2017 18:25:13 +0530 (IST)
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



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Sun, 25 Feb 2018 04:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Dean <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sun, 25 Feb 2018 04:51:04 GMT) (full text, mbox, link).


Message #69 received at [email protected] (full text, mbox, reply):

From: Dean <[email protected]>
To: [email protected]
Subject: File descriptor leaked
Date: Sun, 25 Feb 2018 08:45:24 +0400
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 ...

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.271
Kernel:  4.13.0-kali1-amd64 (x86_64)
-------------------------------------

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.

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.271
Kernel:  4.14.0-kali1-amd64 (x86_64)
-------------------------------------

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.

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.271
Kernel:  4.14.0-kali3-amd64 (x86_64)
-------------------------------------

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.

------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
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




Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Mon, 07 Jan 2019 15:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ντέντος Σταύρος <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Mon, 07 Jan 2019 15:09:03 GMT) (full text, mbox, link).


Message #74 received at [email protected] (full text, mbox, reply):

From: Ντέντος Σταύρος <[email protected]>
To: [email protected]
Subject: grub-pc: File descriptor leaked on lvs invocation
Date: Mon, 7 Jan 2019 17:06:22 +0200
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:
> [...] It's just overly-verbose debug from "vgs" [...]

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

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



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Wed, 07 Aug 2019 16:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Wed, 07 Aug 2019 16:18:06 GMT) (full text, mbox, link).


Message #79 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: [email protected]
Subject: grub-efi-amd64: File descriptor leaked on lvs invocation
Date: Wed, 7 Aug 2019 18:14:50 +0200
[Message part 1 (text/plain, inline)]
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.

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Sun, 16 Aug 2020 10:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to David Ayers <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sun, 16 Aug 2020 10:00:03 GMT) (full text, mbox, link).


Message #84 received at [email protected] (full text, mbox, reply):

From: David Ayers <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: grub-pc: File descriptor leaked on lvs invocation
Date: Sun, 16 Aug 2020 11:49:18 +0200
[Message part 1 (text/plain, inline)]
Package: os-prober
Version: 1.77
Followup-For: Bug #592834

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!

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages os-prober depends on:
ii  grub-common  2.02+dfsg1-20+deb10u2
ii  libc6        2.28-10

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information
-- 
David Ayers - Team Austria
Free Software Foundation Europe (FSFE) []          (http://www.fsfe.org)
Become a supporter of the FSFE!      [][][]      (https://fsfe.org/join)
Your donation powers our work!         ||       (http://fsfe.org/donate)

[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Tue, 07 Sep 2021 17:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Tue, 07 Sep 2021 17:48:03 GMT) (full text, mbox, link).


Message #89 received at [email protected] (full text, mbox, reply):

From: "Farokh - Best Tech Service, LLC" <[email protected]>
To: [email protected]
Subject: Just saw this when using autoremove
Date: Tue, 7 Sep 2021 13:35:18 -0400
[Message part 1 (text/plain, inline)]
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
   [email protected]'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
   [email protected]'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$



-- 

Farokh
----------------------------------------------------------------------------
Best Tech Service, LLC - When only the Best Tech will do...
For all your technology needs including hosting solutions.
Office: 845-735-0210
Cell: 914-262-1594
Like us on Facebook: https://www.facebook.com/besttechsvc

[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Fri, 06 Jan 2023 04:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Charles Curley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Fri, 06 Jan 2023 04:15:03 GMT) (full text, mbox, link).


Message #94 received at [email protected] (full text, mbox, reply):

From: Charles Curley <[email protected]>
To: [email protected]
Subject: Seeing the same thing.
Date: Thu, 5 Jan 2023 20:50:57 -0700
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.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Fri, 17 Feb 2023 15:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Charles Curley <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Fri, 17 Feb 2023 15:54:03 GMT) (full text, mbox, link).


Message #99 received at [email protected] (full text, mbox, reply):

From: Charles Curley <[email protected]>
To: [email protected]
Subject: Seeing this under bookworm/sid
Date: Fri, 17 Feb 2023 08:29:51 -0700
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.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Wed, 08 Mar 2023 13:27:11 GMT) (full text, mbox, link).


Acknowledgement sent to Rostás Attila <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Wed, 08 Mar 2023 13:27:12 GMT) (full text, mbox, link).


Message #104 received at [email protected] (full text, mbox, reply):

From: Rostás Attila <[email protected]>
To: [email protected]
Subject: Bookworm - vgs invocation
Date: Wed, 8 Mar 2023 14:25:29 +0100
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#592834; Package os-prober. (Fri, 17 Mar 2023 09:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Dosch <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Fri, 17 Mar 2023 09:12:05 GMT) (full text, mbox, link).


Message #109 received at [email protected] (full text, mbox, reply):

From: Martin Dosch <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: grub-pc: File descriptor leaked on lvs invocation
Date: Fri, 17 Mar 2023 10:02:05 +0100
[Message part 1 (text/plain, inline)]
Package: os-prober
Version: 1.81
Followup-For: Bug #592834

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

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages os-prober depends on:
ii  grub-common  2.06-8
ii  libc6        2.36-8
ii  mount        2.38.1-5

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Jul 27 08:34:33 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.