Bug#727177: Upgrade of libnss-ldap to 265-1 causes important binaries to segfault

2013-10-26 Thread Arthur de Jong
On Thu, 2013-10-24 at 10:25 -0400, Klee Dienes wrote:
 The issue is that libnss-ldap is ending up with a dependency on
 __libc_lock_lock, which was removed from glibc.

Thanks for the pointer to the patch. I thought I tested the release
before uploading but apparently I was mistaken. Sorry about that.

Preparing another upload with this fix (I'll run some tests this time).

 A few other thoughts:
 
 * It might be nice to build nss-ldap with -Wimplicit -Werror or
 something along those lines.  FTBFS is much better than fail-to-boot.
 * 'sudo' just crashes on null pointer dereference; 'su' complains
 about the link error.  It'd be much better if the client apps would
 just ignore the missing nsswitch module.

Patches are always welcome, however, libnss-ldap currently doesn't have
a maintainer so if someone who actually regularly uses this package
would step up to become maintainer that would help.

I personally use nss-pam-ldapd which is easier to maintain and contains
almost all features nss_ldap has but I understand some people still
prefer nss_ldap so I uploaded a new release that should fix some bugs.

Kind regards,

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --


signature.asc
Description: This is a digitally signed message part


Bug#727177: Upgrade of libnss-ldap to 265-1 causes important binaries to segfault

2013-10-24 Thread Klee Dienes
The issue is that libnss-ldap is ending up with a dependency on 
__libc_lock_lock, which was removed from glibc.

So anything that tries to load libnss-ldap via nsswitch ends up getting a NULL 
for the library load, and then behaves poorly.

There is a patch at 

https://github.com/archlinuxarm/PKGBUILDs/blob/master/extra/nss_ldap/nss_ldap-265-glibc-2.16.patch

that fixed the problem for me.  I had to edit it slightly to get along with the 
log_authpriv patch.

A few other thoughts:

* It might be nice to build nss-ldap with -Wimplicit -Werror or something along 
those lines.  FTBFS is much better than fail-to-boot.
* 'sudo' just crashes on null pointer dereference; 'su' complains about the 
link error.  It'd be much better if the client apps would just ignore the 
missing nsswitch module.



Bug#727177: Upgrade of libnss-ldap to 265-1 causes important binaries to segfault

2013-10-23 Thread Wolfgang Scheicher

I just did run into exactely the same issue.
No login possible after that update, when chrooting from a rescue system zsh 
did segfault.

i was lucky to find bash still usable and i managed to identify libnss-ldap as 
the cause and could sucessfully downgrade to 264-2.5


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727177: Upgrade of libnss-ldap to 265-1 causes important binaries to segfault

2013-10-23 Thread Damián Cinich
Same here. I can not login to the system in any way, I am trying to
boot from a pen drive to downgrade libnss-ldap.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org