Univention Bugzilla – Bug 40650
File descriptor leaked on vgs invocation. Parent PID /usr/sbin/grub-probe
Last modified: 2021-03-02 12:00:19 CET
Created attachment 7477 [details] setup.log We recently updated grub in UCS 4.1 [1]. UCS appliances now issue warnings when the grub config is updated at the end by the appliance hook appliance-hooks.d/screenresolution (which calls ucr set grub/gfxmode=1024x768@16 xorg/resolution=1024x768): run-parts: executing /usr/lib/univention-system-setup/appliance-hooks.d/screenresolution Generating grub configuration file ... File descriptor 3 (/var/log/univention/management-console-module-setup.log) leaked on vgs invocation. Parent PID 943: /usr/sbin/grub-probe File descriptor 5 (socket:[46015]) leaked on vgs invocation. Parent PID 943: /usr/sbin/grub-probe File descriptor 8 (/var/log/univention/setup.log) leaked on vgs invocation. Parent PID 943: /usr/sbin/grub-probe These 3 FD leaks are repeated multiple times, cluttering the logfiles. grub version 2.02~beta2-22+deb8u1.107.201602051734 [1] http://errata.software-univention.de/ucs/4.1/101.html
Experienced this today for UCS 4.2-0 while (un)setting the bootsplash: > root@ucs-7125:~# ucr set grub/bootsplash=splash > Setting grub/bootsplash > File: /etc/default/grub > Generating grub configuration file ... > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2600: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2600: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2611: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2611: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2622: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2622: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2633: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2633: /usr/sbin/grub-probe > Found background: /boot/grub/uniboot.png > Found background image: /boot/grub/uniboot.png > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2822: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2822: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2859: /usr/sbin/grub-probe > File descriptor 6 (/dev/urandom) leaked on vgs invocation. Parent PID 2859: /usr/sbin/grub-probe > Found linux image: /boot/vmlinuz-4.9.0-ucs103-amd64 > Found initrd image: /boot/initrd.img-4.9.0-ucs103-amd64 > Found memtest86+ image: /memtest86+.bin > File descriptor 6 (/dev/urandom) leaked on lvs invocation. Parent PID 3209: /bin/sh > done > Generating legacy menu.lst from current kernels grub2-common → 2.02~beta2-22+deb8u1.107.201602
This is only cosmetic.
this is quite old and can be found in several bug reports: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592834 https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591823 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1313784 https://bugzilla.redhat.com/show_bug.cgi?id=618995 there are also patches so maybe we just can include them?
Created attachment 9704 [details] updater.log excerpt with the error from customer's system
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Still with UCS 5.0: [master090] 2021-03-02T00:14:18.904133 = Running screenresolution [master090] 2021-03-02T00:14:21.288221 Generating grub configuration file ... [master090] 2021-03-02T00:14:21.624498 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10221: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:21.726111 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10221: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:21.786616 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10232: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:21.917607 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10232: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:21.979740 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10243: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:22.075500 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10243: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:22.136594 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10254: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:22.213677 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10254: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:22.706792 Found background: /boot/grub/uniboot.png [master090] 2021-03-02T00:14:23.723204 Found background image: /boot/grub/uniboot.png [master090] 2021-03-02T00:14:23.740611 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10444: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:23.819588 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10444: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:23.879742 Found linux image: /boot/vmlinuz-4.19.0-14-amd64 [master090] 2021-03-02T00:14:23.905260 Found initrd image: /boot/initrd.img-4.19.0-14-amd64 [master090] 2021-03-02T00:14:24.621135 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10682: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:24.706651 File descriptor 9 (/var/log/python-notifier.log) leaked on vgs invocation. Parent PID 10682: /usr/sbin/grub-probe [master090] 2021-03-02T00:14:25.158909 Found memtest86+ image: /memtest86+.bin [master090] 2021-03-02T00:14:25.351549 File descriptor 9 (/var/log/python-notifier.log) leaked on lvs invocation. Parent PID 10825: /bin/sh [master090] 2021-03-02T00:14:25.803462 done [master090] 2021-03-02T00:14:25.804349 Setting grub/gfxmode [master090] 2021-03-02T00:14:25.804349 Setting xorg/resolution [master090] 2021-03-02T00:14:25.804349 File: /etc/default/grub