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

2005-03-25 Thread Marc Haber
tags #299051 help d-i confirmed pending thanks On Fri, Mar 18, 2005 at 07:13:49AM +0100, Marc Haber wrote: > On Thu, Mar 17, 2005 at 11:54:42PM +0200, Antonio Kanouras wrote: > > I've tested it - works like a charm :-) > > Thanks. I'll have to wait for feedback regarding the installer, and > then

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

2005-03-17 Thread Marc Haber
On Thu, Mar 17, 2005 at 11:54:42PM +0200, Antonio Kanouras wrote: > I've tested it - works like a charm :-) Thanks. I'll have to wait for feedback regarding the installer, and then I will commit to svn. Greetings Marc -- --

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

2005-03-17 Thread Antonio Kanouras
Hi again, sorry for not replying back sooner, just've been busy with rl the last few days. I've tested it - works like a charm :-) You can find [ls]traces of it if you wish at: http://solistland.dnsalias.org/debian-bugs/299051/strace.out.working.bz2 and http://solistland.dnsalias.org/debian-bug

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

2005-03-11 Thread Marc Haber
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

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

2005-03-11 Thread Florian Weimer
* Antonio Kanouras: > FW> > Debian-Installer (see #297607). So we have patched exim to close > FW> > all fds on startup (debian/patches/10_daemon_close_fds.dpatch) for > FW> > ages. > FW> > FW> Antonio, could you try and see what happens if you back out this > FW> patch? > > I'm leaving for my ho

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

2005-03-11 Thread Antonio Kanouras
[Florian Weimer <[EMAIL PROTECTED]>] FW> * Marc Haber: FW> FW> > On Fri, Mar 11, 2005 at 03:42:05PM +0100, Florian Weimer wrote: FW> >> My best guess so far is that Exim closes all descriptors after FW> >> becoming a daemon, including the ones opened by libnss-ldap. FW> > FW> > exim by default onl

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

2005-03-11 Thread Marc Haber
On Fri, Mar 11, 2005 at 03:42:05PM +0100, Florian Weimer wrote: > My best guess so far is that Exim closes all descriptors after > becoming a daemon, including the ones opened by libnss-ldap. exim by default only closes fds 0, 1 and 2, which kills the Debian-Installer (see #297607). So we have pat

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

2005-03-11 Thread Florian Weimer
* Marc Haber: > On Fri, Mar 11, 2005 at 03:42:05PM +0100, Florian Weimer wrote: >> My best guess so far is that Exim closes all descriptors after >> becoming a daemon, including the ones opened by libnss-ldap. > > exim by default only closes fds 0, 1 and 2, which kills the > Debian-Installer (see

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

2005-03-11 Thread Florian Weimer
* Antonio Kanouras: > [pid 27674] socket(PF_INET6, SOCK_STREAM, IPPROTO_IP > [pid 27674] <... socket resumed> ) = 3 > [pid 27674] setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0 > setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 > setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 > bind(3,

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

2005-03-11 Thread Marc Haber
tags #299051 help thanks Hi! On Fri, Mar 11, 2005 at 02:36:45PM +0200, Antonio Kanouras wrote: > I've hit a weird bug when using libnss-ldap. It seems related to > #190072. Under some circumstances, Exim4 gets stuck in an infinite > loop. Everything else on the system works as usual in either cas

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

2005-03-11 Thread Antonio Kanouras
Package: exim4 Version: 4.50-4 Severity: normal Hi, I've hit a weird bug when using libnss-ldap. It seems related to #190072. Under some circumstances, Exim4 gets stuck in an infinite loop. Everything else on the system works as usual in either case. I'm just a beginner in C, but it seems that wh