Bug#299051: Re: Bug#299051: exim4+libnss-ldap: Loops infinitely on startup

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 299051@bugs.debian.org
Sat, 12 Mar 2005 00:18:35 +0100


On Fri, Mar 11, 2005 at 08:59:06PM +0100, Florian Weimer wrote:
> Okay, from this strace it's pretty clear that the mass-closing of file
> descriptors happens *after* the LDAP library has opened its connection
> to the server.  D'oh.
> 
> The patch is the wrong approach anyway.  If there is a file descriptor
> leak, it should be plugged.  If it can't be plugged, use a wrapper
> instead.  Marc?

I have backed out the fd close patch and am now calling db_stop in the
config script which should prevent 297697 from happening again.

Can you please test the unofficial 4.50-4.0 from
http://zg.debian.zugschlus.de/zg/pool/main/exim4 to see whether the
issue remains. This version doesn't close any excess fd's any more (we
had that patch in for ages).

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835