On Fri, Aug 25, 2006 at 09:41:11PM +0100, I wrote:
> On Thu, Aug 24, 2006 at 07:35:28PM -0700, Steve Langasek wrote:
> >
> > On Thu, Aug 24, 2006 at 10:32:22AM +0200, E.G.Keizer wrote:
> > > Starting lpd with ldap as the first entry for services, protocols and rpc
> > > in nsswitch.conf caused lpd to crash with a SIGPIPE.
> >
> > That's not good, but it's not data loss either. It also doesn't seem to be
> > consistent with others' experiences with this package, since no one else has
> > complained about SIGPIPE and this version of libnss-ldap has been around for
> > a while, so downgrading the report's severity.
>
> Perhaps it could be triggering #190072 (SIGPIPE when the LDAP connection
> is lost and nscd isn't running) somehow? An strace of lpd crashing
> would be helpful, as would knowing whether nscd was running.
The straces Ed kindly sent to me suggested two things:
1. nscd isn't handling services, protocols and rpc, and so it will not
help. (Taking a quick look at the manual pages, it seems that nscd
only handles passwd, group and hosts.)
2. It isn't a reconnection problem, but is some problem with the code
to handle forked processes -- it crashes in do_drop_connection
(ldap_nss.c). I suspect that the assumptions about OpenLDAP in
that code may be out of date.
I don't have a testing or unstable setup using LDAP at the moment, so I
can't investigate this further, but hopefully the above will help a
little.
Cheers,
Brian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]