Page 1 of 1

[SOLVED] Update grub2

PostPosted: Feb 17th, '16, 18:51
by xlin
Code: Select all
[root@xlin-netbook boot]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Найдена тема: /boot/grub2/themes/maggy/theme.txt
Найден образ linux: /boot/vmlinuz-server
Найден образ initrd: /boot/initrd-server.img
Найден образ linux: /boot/vmlinuz-4.1.15-server-2.mga5
Найден образ initrd: /boot/initrd-4.1.15-server-2.mga5.img
File descriptor 3 (pipe:[61608]) leaked on vgs invocation. Parent PID 28477: grub2-probe
File descriptor 7 (pipe:[30445]) leaked on vgs invocation. Parent PID 28477: grub2-probe
File descriptor 9 (pipe:[64106]) leaked on vgs invocation. Parent PID 28477: grub2-probe
File descriptor 3 (pipe:[61608]) leaked on vgs invocation. Parent PID 28477: grub2-probe
File descriptor 7 (pipe:[30445]) leaked on vgs invocation. Parent PID 28477: grub2-probe
File descriptor 9 (pipe:[64106]) leaked on vgs invocation. Parent PID 28477: grub2-probe

File descriptor 7 (pipe:[30445]) leaked on vgs invocation. Parent PID 29172: /usr/sbin/grub2-probe
File descriptor 7 (pipe:[30445]) leaked on vgs invocation. Parent PID 29172: /usr/sbin/grub2-probe
Найден Fedora release 23 (Twenty Three) на /dev/mapper/fedora-root
Done


WTF?

Re: Update grub2

PostPosted: Feb 17th, '16, 20:34
by doktor5000
WTF what? What is your actual question or problem?

Short google search shows that the messages regarding leaked file descriptors are purely cosmetic output from lvm and an upstream issue. See
http://savannah.gnu.org/bugs/?39696
https://bugs.debian.org/cgi-bin/bugrepo ... bug=466138
https://bugs.launchpad.net/ubuntu/+sour ... bug/591823
https://bugs.launchpad.net/ubuntu/+sour ... ug/1313784
http://unix.stackexchange.com/questions ... invocation

man lvm wrote: 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.


Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: Update grub2

PostPosted: Feb 18th, '16, 06:58
by xlin
doktor5000 wrote:WTF what? What is your actual question or problem?

Short google search shows that the messages regarding leaked file descriptors are purely cosmetic output from lvm and an upstream issue. See
http://savannah.gnu.org/bugs/?39696
https://bugs.debian.org/cgi-bin/bugrepo ... bug=466138
https://bugs.launchpad.net/ubuntu/+sour ... bug/591823
https://bugs.launchpad.net/ubuntu/+sour ... ug/1313784
http://unix.stackexchange.com/questions ... invocation

man lvm wrote: 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.


Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

The problem is that grub2-probe for very long runs and loads the system to 100%
Without waiting for broke to boot.