Help!

Bug#517701: file descriptors leak during vgscan invocations

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist RSS
Next:  [PATCH]a.out.h: Fix the format error.  
Author Message
Tim Connors
External


Since: Aug 16, 2009
Posts: 3



PostPosted: Sun Nov 29, 2009 2:10 am    Post subject: Bug#517701: file descriptors leak during vgscan invocations
Archived from groups: linux>debian>bugs>dist (more info?)

....
> File descriptor 51 (/var/lib/debtags/vocabulary.idx) leaked on vgchange
> invocation. Parent PID 32047: /bin/sh
....

This is the standard and pointless message that lvm outputs whenever one
of its commands are invoked by a process that just didn't happen to close
file descriptors (such as bash when asked to redirect file descriptors):
http://groups.google.com/group/uk.comp.os.linux/browse_thread/thread/28b1b41d93ed29ab

lvm(2) states with no justification for its behaviour:

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.

The message is pointless as other programs such as daemons can be
routinely be observered with strace to silently close all file descriptors
without complaining, but as you say, the error message is also
rather scary and counterproductive.

BTW: Why has this been reassigned to libept0 ?

--
TimC
My mom says you shouldn't encourage me. -- Theresa Willis



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs Dist All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum