On tis, 2012-04-17 at 10:47 +0200, Václav Ovsík wrote: > Hi Peter, > > On Mon, Apr 16, 2012 at 10:53:17PM +0300, Peter Eisentraut wrote: > > Calling lvs directly from the command line also shows messages about > > leaked file descriptors, so I'm not convinced that this is a problem in > > anacron. > > I don't know what you mean "lvs directly from the command line". I never > noticed such messages from LVM commands ran from bash, dash.
Well, zsh ... ;-) > The only > other case I noticed is LVM under Midnight Commander. Midnight Commander > has this problem too. Hmm, I should report this problem on MC too :). Interesting. I'm not sure why lvs is in the business of complaining about file descriptor leaks in its parent processes. It might be worth fixing them, but I'd like to understand this a bit better first. > I ran the Anacron trough strace and after a short inspection of lvs > message and strace output I found one of leaked descriptors. The > following attached patch solves the message in the test case. > > Unfortunately I'm afraid it is only a part :(. > But as I'm looking back on other leaked descriptors I originally > reported, these are probably inherited from parent processes of Anacron. > > Can you accept the attached patch or rewrite it to your taste (maybe > report upstream)? I think, that after applying the fix this bug can be > closed. Other leaked descriptors should be reported to other packages. I'll look into it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org