bugGNU GRUB - Bugs: bug #39696, grub-probe leaks file descriptors...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39696: grub-probe leaks file descriptors to LVM2

Submitter:  Mike GIlbert <floppym>
Submitted:  Mon 05 Aug 2013 01:52:30 AM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  None
Planned Release:  None

Mon 24 Aug 2015 04:20:09 PM UTC, comment #4: 

It seems like this bug is still here. I see it on Debian system with grub 2.02~beta2 and lvm2 2.02.111

-Deleted Account- <jaysonwillson245>
Fri 16 Aug 2013 06:21:04 PM UTC, comment #3: 

The user says this is fixed on the trunk.

Mike GIlbert <floppym>
Mon 05 Aug 2013 01:03:53 PM UTC, comment #2: 

I didn't reproduce it myself, but the user on the Gentoo bug says it happens with a snapshot of bzr trunk taken yesterday (revno 5086).

Mike GIlbert <floppym>
Mon 05 Aug 2013 11:13:16 AM UTC, comment #1: 

Do you use latest version? I've already fixed this problem some time ago.

Vladimir Serbinenko <phcoder>
Group administrator
Mon 05 Aug 2013 01:52:30 AM UTC, original submission:  

Downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=479766

LVM2 outputs warning messages when it inherits file descriptors greater than 2. For example:

File descriptor 4 (pipe:[1016827]) leaked on vgs invocation. Parent PID 28778: /usr/sbin/grub2-probe

Two solutions:
1. Close any open files/pipes before executing LVM2 commands
2. Set the LVM_SUPPRESS_FD_WARNINGS environment variable.

Mike GIlbert <floppym>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jaysonwillson245 (Posted a comment)
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by floppym (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-16 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code