Comment 52 for bug 423252

Revision history for this message
Andreas Sandberg (andysan) wrote : Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'

Debugging this one proved to be pretty tricky. GDB has a nasty habit of loosing control over the debuggee (bug #563361). I've managed to find out that setuid is called from nptl/allocatestack.c:__nptl_setxid in eglibc, but I haven't succeeded in getting a stack trace. If I understand things correctly, this routine is called from a signal handler installed by pthreads.