grub-install:文件描述符 3 在 vgs 调用中泄露

Jér*_*ôme 20 software-raid lvm grub2

我在软件 RAID 1 中的 LVM 上安装了 Debian Jessie。

为了确保MBR写在RAID 1的两个磁盘上,我运行dpkg-reconfigure grub-pc(如建议在这里),然后选择两个磁盘。

我收到这些错误:

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
Run Code Online (Sandbox Code Playgroud)

这是需要担心的吗?

这个错误报告表明这样的警告可能会出现并且是无害的,但那些应该已经被修复了 AFAIU。

有关我的安装的更多详细信息,以防万一:

我使用2个硬盘。每个驱动器上都有一个用于 RAID 的完整驱动器分区。我用两个分区创建了一个 RAID1。我在 RAID 上创建了一个 LVM,并在 LVM 中创建了 3 个逻辑卷用于交换、/ 和 /home。

在安装过程中,我只在一个驱动器上写入了 MBR,要么是错误的,要么是因为安装程序不允许我在两个驱动器上都写入它。我希望只能用一个驱动器启动,所以我需要在两个驱动器上写入 MBR。

Ste*_*itt 20

有关文件描述符泄漏的警告消息确实是无害的,并且正在错误 592834中进行跟踪。你可能想在那里贡献你的发现;我不确定 Colin(维护者)是否能够在这种情况下重现该错误...

  • 我也在 Debian 9 Stretch 上发现了这个问题。我的分区方案基于lvm。我最近重命名了一些卷组和逻辑卷。 (2认同)