I'm using cyrus21-imapd, but the problem I saw was so similar to the
problem you describe that I suspect they are related.
An strace shows the following:
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
geteuid32() = 107
futex(0xa79beac4, FUTEX_WAKE, 2147483647) = 0
open("/etc/libnss-ldap.conf", O_RDONLY) = -1 EACCES (Permission denied)
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
munmap(0xa7b86000, 817) = 0
close(9) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
and sure enough, the permissions on /etc/libnss-ldap.conf had been set
back to 0600 since updating. nscd was masking the problem for most
things which makes it a bit confusing.
It seems that every time I update libnss-ldap, the config file
permissions get set back to 0600. I'm sure this shouldn't be!
Should I raise a separate bug report for this? I will if this doesn't
get any response.
Thanks
James