[Bug 1185699] Re: libnss-ldap crashes in libc-2.17.so when using sudo/sshd
Of course it is possible to reproduce this on a clean 13.04 system. I did that in fact by installing a clean 13.04 system as a virtual machine and then just installing the libnss-ldap package together with our modified /etc/ldap.conf and /etc/nsswitch.conf. After doing so sudo immediately crashes. Regarding installing a local LDAP server, this is not possible in our case. We are using a public LDAP server of our institute which contains thousands of users and even more groups. In fact, I suspect the amount of users and groups to be one reason for the crash, but haven't verified/investigated that. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu. https://bugs.launchpad.net/bugs/1185699 Title: libnss-ldap crashes in libc-2.17.so when using sudo/sshd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1185699/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1185699] [NEW] libnss-ldap crashes in libc-2.17.so when using sudo/sshd
Public bug reported: Since our upgrade to 13.04 (we had 12.10 previously) our administrators cannot use sudo anymore. When sudo is used and either the correct password or incorrect password is used sudo immediately crashes with the following crash report: -- cut here -- sudo[23352]: segfault at 0 ip 7f40ff4da5e4 sp 7fffa07c3ec8 error 4 in libc-2.17.so[7f40ff443000+1be000] -- cut here -- After some investigation we found that as soon as we disable nss-ldap support in /etc/nsswitch.conf by removing the ldap statements in the passwd,shadow and group rows sudo works as expected. Howeer, of course then the ldap users are gone. Besides that crash getent passwd, getent group or any other name service query seems to work fine. Also disabling/stopping nscd doesn't seem to solve the problem. After some further investigation we even found out that not only sudo is affected, but also sshd crashes under certain circumstances as soon as nss-ldap support is enabled in /etc/nsswitch.conf. Then sshd also crashes with a similar crash in libc-2.17.so: -- cut here -- sshd[11457]: segfault at 0 ip 7f40cb0cc5e4 sp 7fff7204d038 error 4 in libc-2.17.so[7f40cb035000+1be000] -- cut here -- All the servers that still use Ubuntu 12.10 seems to work fine so far. Thus, the combination of nss-ldap and libc-2.17.so seem to crash our system. ** Affects: libnss-ldap (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu. https://bugs.launchpad.net/bugs/1185699 Title: libnss-ldap crashes in libc-2.17.so when using sudo/sshd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1185699/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 768846] Re: autofs does not mount /net/host
Here I am having the same problem with our server since we upgraded them to 11.04 (natty): -- cut here -- langner@mars:~$ ll /net/cns2/ ls: cannot access /net/cns2/: No such file or directory langner@mars:~$ ll /net/cns2/. ls: /net/cns2/./user: No such file or directory ls: /net/cns2/./astro: No such file or directory ls: /net/cns2/./NTOF: No such file or directory total 0 drwxr-xr-x 2 root root 0 Jul 30 15:08 NTOF drwxr-xr-x 2 root root 0 Jul 30 15:08 archive drwxr-xr-x 2 root root 0 Jul 30 15:08 astro drwxr-xr-x 2 root root 0 Jul 30 15:08 projects drwxr-xr-x 2 root root 0 Jul 30 15:08 user langner@mars:~$ ll /net/cns2/. ls: cannot access /net/cns2/./user: No such file or directory ls: cannot access /net/cns2/./astro: No such file or directory ls: cannot access /net/cns2/./NTOF: No such file or directory total 0 d? ? ???? NTOF dr-xr-xr-x 4 root root 0 Dec 10 2009 archive d? ? ???? astro dr-xr-xr-x 53 root root 0 Jul 28 12:28 projects d? ? ???? user -- cut here -- In addition, we identified that when setting a very short autofs unmount timeout (via --timout X option) this timeout is never reached and the mount point which was automounted stays forever. The interesting part to not is, that when downgrading to kernel 2.6.35-30-server from 10.10 (Maverick) the problem instantly vanishes as you can see here: -- cut here -- langner@mars:~$ ll /net/cns2/ total 0 drwxr-xr-x 2 root root 0 Jul 30 15:12 NTOF drwxr-xr-x 2 root root 0 Jul 30 15:12 archive drwxr-xr-x 2 root root 0 Jul 30 15:12 astro drwxr-xr-x 2 root root 0 Jul 30 15:12 projects drwxr-xr-x 2 root root 0 Jul 30 15:12 user -- cut here -- Thus, I also suspect a kernel problem! Please also note that even upgrading to kernel 2.6.38-11-server which is still under development didn't solve the problem. In addition, please remove the incomplete status of this bug report as we should have supplied enough information here to get some more priority on the issue! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs5 in Ubuntu. https://bugs.launchpad.net/bugs/768846 Title: autofs does not mount /net/host To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/768846/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs