Skip to content

[Feature Request] Suppress `grub2-mkconfig file-descriptor warnings #143

Description

@ferricoxide

When running the final phases of the automation (when grub2-mkconfig -o /boot/grub2/grub.cfg is being run), the logs fill up with:

Generating grub configuration file ...
File descriptor 10 (/dev/pts/0) leaked on vgs invocation. Parent PID 110906: /usr/sbin/grub2-probe
File descriptor 11 (/dev/pts/0) leaked on vgs invocation. Parent PID 110906: /usr/sbin/grub2-probe
File descriptor 12 (/dev/pts/0) leaked on vgs invocation. Parent PID 110906: /usr/sbin/grub2-probe
[...elided...]

Messages. While non-fatal, it's annoying and needlessly "chatty". Adding LVM_SUPPRESS_FD_WARNINGS=1 when invoking grub2-mkconfig would make the logged activity-output cleaner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions