Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

134 views
Skip to first unread message

Wolfram Quester

unread,
Aug 13, 2010, 2:50:02 AM8/13/10
to
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

Colin Watson

unread,
Aug 13, 2010, 10:50:02 AM8/13/10
to
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 [cjwa...@debian.org]

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Wolfram Quester

unread,
Aug 13, 2010, 3:40:02 PM8/13/10
to
Hi Colin,

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

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

Thanks for your work and have a nice weekend,

Wolfi


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

template_grub-pc.txt
signature.asc

Dean

unread,
Feb 25, 2018, 12:00:03 AM2/25/18
to
System

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

Disks

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


os-prober version 1.76

Update log (partial)


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

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

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

unread,
Jan 7, 2019, 10:10:02 AM1/7/19
to
Hello there,

I still see the same on my installation:

Ubuntu 16.04:

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


If, as commented above:
> [...] It's just overly-verbose debug from "vgs" [...]

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

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

David Ayers

unread,
Aug 16, 2020, 6:10:04 AM8/16/20
to
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

Farokh - Best Tech Service, LLC

unread,
Sep 7, 2021, 1:50:04 PM9/7/21
to

I just updated my 20.04 install, it installed 5.4.0-84 (among other things). I rebooted and then used apt autoremove to remove anything old. Here's what I got:

root@rct2:/home/farokh# apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
  linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
  linux-modules-extra-5.4.0-77-generic linux-modules-extra-5.4.0-80-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 755 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 187508 files and directories currently installed.)
Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'


Generating grub configuration file ...

Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
done
Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'


Generating grub configuration file ...

File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on lvs invocation. Parent PID 4086: /bin/sh
done
Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...


Here is all the text from the ssh sessions:


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

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

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

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

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

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

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


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

Generating grub configuration file ...

Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
Found linux image: /boot/vmlinuz-5.4.0-77-generic
Found initrd image: /boot/initrd.img-5.4.0-77-generic
done
root@rct2:/home/farokh# shutdown -r now
Connection to mail.rocklandtimes.com closed by remote host.
Connection to mail.rocklandtimes.com closed.
farokhs-Mac-Pro:~ farokh$ ssh rctmail
far...@mail.rocklandtimes.com's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-84-generic x86_64)

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

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

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

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

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

0 updates can be applied immediately.


Last login: Tue Sep  7 13:21:00 2021 from 165.254.4.10
farokh@rct2:~$ sudo su
[sudo] password for farokh:
root@rct2:/home/farokh# apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
  linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
  linux-modules-extra-5.4.0-77-generic linux-modules-extra-5.4.0-80-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 755 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 187508 files and directories currently installed.)
Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'

Generating grub configuration file ...

Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
done
Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'

Generating grub configuration file ...

File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on lvs invocation. Parent PID 4086: /bin/sh
done
Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...
root@rct2:/home/farokh# shutdown -r now
Connection to mail.rocklandtimes.com closed by remote host.
Connection to mail.rocklandtimes.com closed.
farokhs-Mac-Pro:~ farokh$



-- 

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

Charles Curley

unread,
Jan 5, 2023, 11:20:03 PM1/5/23
to
root@grissom:~# cat /etc/debian_version
11.6
root@grissom:~# uname -a
Linux grissom 5.10.0-20-686 #1 SMP Debian 5.10.158-2 (2022-12-13) i586 GNU/Linux
root@grissom:~# free
total used free shared buff/cache available
Mem: 228Mi 43Mi 63Mi 0.0Ki 121Mi 175Mi
Swap: 487Mi 14Mi 473Mi
Total: 716Mi 58Mi 536Mi
root@grissom:~#

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

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

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



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

--
Does anybody read signatures any more?

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

Charles Curley

unread,
Feb 17, 2023, 11:00:04 AM2/17/23
to
The unattended upgrade of grub failed (due to the fact that I had
replaced the hard drive and used dd to copy sector for sector from the
old one to the new, and that changed the identity of the hard drive).
Per the instructions in the unattended upgrade message, I ran the
following:

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

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

Rostás Attila

unread,
Mar 8, 2023, 8:30:05 AM3/8/23
to
Dear Maintainer,

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

Setting up libndctl6:amd64 (76.1-1) ...
Setting up libxendevicemodel1:amd64 (4.17.0+46-gaaf74a532c-1) ...
Setting up mdadm (4.2-5) ...
update-initramfs: deferring update (trigger activated)

Generating grub configuration file ...
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093640: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093640: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093667: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093667: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093694: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093694: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093721: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093721: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093824: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2093824: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-6.1.0-5-amd64
Found initrd image: /boot/initrd.img-6.1.0-5-amd64
Found linux image: /boot/vmlinuz-6.1.0-3-amd64
Found initrd image: /boot/initrd.img-6.1.0-3-amd64
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2094286: /usr/sbin/grub-probe
File descriptor 3 (pipe:[16075760]) leaked on vgs invocation. Parent PID 2094286: /usr/sbin/grub-probe

Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up libxenhypfs1:amd64 (4.17.0+46-gaaf74a532c-1) ...
Setting up python3-apt (2.5.3) ...
Setting up libxenmisc4.17:amd64 (4.17.0+46-gaaf74a532c-1) ...
Processing triggers for initramfs-tools (0.142) ...

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

The softwares:
~# dpkg -l grub*

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

:~# dpkg -l lvm*

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

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

I hope with this description you can reproduce the issue.

Best regards,
Attila
0 new messages