Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I think it an LVM warning/bug.As the LVM man page says - "On invocation, lvm requires that only the standard file descriptors stdin, stdout and stderr are available. If others are found, they get closed and messages are issued warning about the leak. This warning can be suppressed by setting the environment variable LVM_SUPPRESS_FD_WARNINGS"So in the report pasted in this ,uses fd's 3,9 while the standard ones are fd's stdin-0,stdout-1 and stderr-2.
So, I suggest you to resign to LVM component
Comment 2RHEL Program Management
2023-09-16 18:15:32 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.
Comment 3RHEL Program Management
2023-09-16 18:16:36 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.
Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.
To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:
"Bugzilla Bug" = 1234567
In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.
Description of problem: grub2-mkconfig show “leaked on vgs invocation” messages when additional lvm2 disk are on the system in RHEL9. Version-Release number of selected component (if applicable): [root@localhost data]# uname -r 5.14.0-162.6.1.el9_1.x86_64 [root@localhost data]# [root@localhost data]# rpm -qf /usr/sbin/grub2-mkconfig grub2-tools-2.06-46.el9_1.3.x86_64 [root@localhost data]# [root@localhost data]# rpm -qf /usr/sbin/vgs lvm2-2.03.16-3.el9.x86_64 [root@localhost data]# How reproducible: every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: root@localhost data]# strace -vfo trc-mkconfig-1 -s 4096 -y -ttt grub2-mkconfig -o test2.cnf Generating grub configuration file ... File descriptor 3 (pipe:[32421]) leaked on vgs invocation. Parent PID 7009: grub2-probe File descriptor 9 (pipe:[53310]) leaked on vgs invocation. Parent PID 7009: grub2-probe File descriptor 3 (pipe:[32421]) leaked on vgs invocation. Parent PID 7009: grub2-probe File descriptor 9 (pipe:[53310]) leaked on vgs invocation. Parent PID 7009: grub2-probe File descriptor 3 (pipe:[32421]) leaked on vgs invocation. Parent PID 7084: grub2-probe File descriptor 9 (pipe:[53310]) leaked on vgs invocation. Parent PID 7084: grub2-probe File descriptor 3 (pipe:[32421]) leaked on vgs invocation. Parent PID 7084: grub2-probe File descriptor 9 (pipe:[53310]) leaked on vgs invocation. Parent PID 7084: grub2-probe Adding boot menu entry for UEFI Firmware Settings ... done [root@localhost data]# [root@localhost data]# grep "leaked on vgs invocation" trc-mkconfig-1 7010 1678718392.776968 write(2</dev/pts/0>, "File descriptor 3 (pipe:[32421]) leaked on vgs invocation.", 58) = 58 7010 1678718392.777274 write(2</dev/pts/0>, "File descriptor 9 (pipe:[53310]) leaked on vgs invocation.", 58) = 58 7011 1678718392.977755 write(2</dev/pts/0>, "File descriptor 3 (pipe:[32421]) leaked on vgs invocation.", 58) = 58 7011 1678718392.978065 write(2</dev/pts/0>, "File descriptor 9 (pipe:[53310]) leaked on vgs invocation.", 58) = 58 7085 1678718393.949138 write(2</dev/pts/0>, "File descriptor 3 (pipe:[32421]) leaked on vgs invocation.", 58) = 58 7085 1678718393.949467 write(2</dev/pts/0>, "File descriptor 9 (pipe:[53310]) leaked on vgs invocation.", 58) = 58 7091 1678718394.481188 write(2</dev/pts/0>, "File descriptor 3 (pipe:[32421]) leaked on vgs invocation.", 58) = 58 7091 1678718394.481536 write(2</dev/pts/0>, "File descriptor 9 (pipe:[53310]) leaked on vgs invocation.", 58) = 58 [root@localhost data]# [root@localhost data]# rpm -qf /usr/sbin/grub2-mkconfig grub2-tools-2.06-46.el9_1.3.x86_64 [root@localhost data]# [root@localhost data]# rpm -qf /usr/sbin/vgs lvm2-2.03.16-3.el9.x86_64 [root@localhost data]# All the /usr/sbin/grub2-probe exec’s [root@localhost data]# grep execve\( trc-mkconfig-1 | grep grub2-probe | cut -b 1-150 | grep /usr/sbin/grub2-probe | column -t 6390 1678718381.725041 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--target=device", "/"], ["SHELL=/bin/bash", "HISTCONTROL=ignoredups 6392 1678718381.738377 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/mapper/rhel-root", "--target=fs_uuid"], ["SHELL=/b 6403 1678718382.548056 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/mapper/rhel-root", "--target=partuuid"], ["SHELL=/ 6413 1678718383.149517 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--target=device", "/boot"], ["SHELL=/bin/bash", "HISTCONTROL=ignore 6415 1678718383.161637 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=fs_uuid"], ["SHELL=/bin/bash", "H 6423 1678718383.447231 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/mapper/rhel-root", "--target=fs"], ["SHELL=/bin/ba 6471 1678718384.304733 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/mapper/rhel-root", "--target=abstraction"], ["SHEL 6481 1678718384.927536 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=partmap"], ["SHELL=/bin/bash", "G 6488 1678718385.160908 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=abstraction"], ["SHELL=/bin/bash" 6495 1678718385.393264 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=fs"], ["SHELL=/bin/bash", "GRUB_E 6502 1678718385.639918 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=compatibility_hint"], ["SHELL=/bi 6510 1678718385.871493 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=fs_uuid"], ["SHELL=/bin/bash", "G 6518 1678718386.118838 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=hints_string"], ["SHELL=/bin/bash 6525 1678718386.356079 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--target=device", "/boot/"], ["SHELL=/bin/bash", "GRUB_EARLY_INITRD 6526 1678718386.367050 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=partmap"], ["SHELL=/bin/bash", "G 6533 1678718386.599441 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=abstraction"], ["SHELL=/bin/bash" 6540 1678718386.839496 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=fs"], ["SHELL=/bin/bash", "GRUB_E 6547 1678718387.135468 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=compatibility_hint"], ["SHELL=/bi 6556 1678718387.372668 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=fs_uuid"], ["SHELL=/bin/bash", "G 6564 1678718387.622132 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/sdb1", "--target=hints_string"], ["SHELL=/bin/bash 6592 1678718387.981554 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--target=fs", "/boot/loader/entries"], ["SHELL=/bin/bash", "GRUB_EA 6615 1678718388.355965 execve("/usr/sbin/grub2-probe", ["/usr/sbin/grub2-probe", "--device", "/dev/mapper/rhel-root", "--target=abstraction"], ["SHEL 6754 1678718390.729206 execve("/usr/sbin/grub2-probe", ["grub2-probe", "-d", "/dev/sda1", "-t", "fs"], ["SHELL=/bin/bash", "GRUB_EARLY_INITRD_LINUX_S Only on these 2. 7009 1678718392.749854 execve("/usr/sbin/grub2-probe", ["grub2-probe", "-d", "/dev/mapper/vg--data--1-lvol1", "-t", "fs"], ["SHELL=/bin/bash", "GRUB_ <------------------------ 7084 1678718393.921939 execve("/usr/sbin/grub2-probe", ["grub2-probe", "-d", "/dev/mapper/vg--internel-lvol1", "-t", "fs"], ["SHELL=/bin/bash", "GRUB <------------------------- [root@localhost data]# oot@localhost data]# df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 18308132 0 18308132 0% /dev/shm tmpfs 7323256 10164 7313092 1% /run /dev/mapper/rhel-root 73364480 9989452 63375028 14% / /dev/sdb1 1038336 403024 635312 39% /boot /dev/mapper/rhel-home 395234760 4806376 390428384 2% /home tmpfs 3661624 92 3661532 1% /run/user/1000 [root@localhost data]# [root@localhost data]# vgs VG #PV #LV #SN Attr VSize VFree rhel 1 3 0 wz--n- <464.76g 0 vg-data-1 1 1 0 wz--n- <1.82t 0 <---- vg-internel 1 1 0 wz--n- 231.88g 0 <---- [root@localhost data]# [root@localhost data]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home rhel -wi-ao---- <377.11g root rhel -wi-ao---- 70.00g swap rhel -wi-ao---- <17.65g lvol1 vg-data-1 -wi-a----- <1.82t <----- lvol1 vg-internel -wi-a----- 231.88g <----- [root@localhost data]# [root@localhost data]# lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS This one. sda ├─sda1 ext4 1.0 4aab5513-571f-4b7d-859e-3cdb5751f22f └─sda2 LVM2_member LVM2 001 9gDiR9-qQ0V-tftH-PHBI-XX6v-rlJf-Nji2vd └─vg--internel-lvol1 xfs 3a229e33-761b-483c-99f2-ab0435024041 sdb ├─sdb1 xfs 9c89f022-00c8-4c3c-a8d3-e977dd14385d 620.4M 39% /boot └─sdb2 LVM2_member LVM2 001 BRQ0EJ-GPQF-hRf3-Qp1e-d8RK-X7BJ-h308Kh ├─rhel-root xfs f3b1d021-75e0-420a-9c70-f6542111e914 60.4G 14% / ├─rhel-swap swap 1 859732c5-f965-450c-81d9-a45fc4e99fe6 [SWAP] └─rhel-home xfs da1bb1d8-8f7f-400c-9270-b4192330376e 372.3G 1% /home And this one. sdc LVM2_member LVM2 001 2bybdb-v3L4-cL0s-OVQa-OaYC-6SMt-6KYZ1q └─vg--data--1-lvol1 ext4 1.0 9135f3df-2a34-43e5-bf7d-b334ece4804d sr0 [root@localhost data]# Hope that’s all the data you need.