[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-07-19 Thread Jack O'Quin
I recently experienced this problem on Trusty, and tried several of the recommended work-arounds, without success until I tried switching to libnss-ldapd in place of libnss-ldap. That worked. Now I can successfully reboot my LDAP clients. Amazing that something so fundamental is still broken

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-07-19 Thread Jack O'Quin
I recently experienced this problem on Trusty, and tried several of the recommended work-arounds, without success until I tried switching to libnss-ldapd in place of libnss-ldap. That worked. Now I can successfully reboot my LDAP clients. Amazing that something so fundamental is still broken

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-21 Thread kay
nss_initgroups_ignoreusers with users with id 500 works for me. ** Attachment removed: libnss_ldapd_w_user.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301881/+files/libnss_ldapd_w_user.log ** Attachment removed: libnss_ldapd.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-21 Thread kay
nss_initgroups_ignoreusers with users with id 500 works for me. ** Attachment removed: libnss_ldapd_w_user.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301881/+files/libnss_ldapd_w_user.log ** Attachment removed: libnss_ldapd.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301882/+files/libnss_ldapd.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301880/+files/libnss_ldapd.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301882/+files/libnss_ldapd.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
libnss-ldapd doesn't work if user doesn't exist in the system. once user is created - ssh authentication works fine. Here are ssh debug logs for: libnss-ldap, libnss-ldapd wo user, and libnss-ldapd w user ** Attachment added: libnss_ldap.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd_w_user.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301881/+files/libnss_ldapd_w_user.log ** Attachment removed: libnss_ldapd.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301880/+files/libnss_ldapd.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
** Attachment added: libnss_ldapd_w_user.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1024475/+attachment/4301881/+files/libnss_ldapd_w_user.log ** Attachment removed: libnss_ldapd.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-19 Thread kay
libnss-ldapd doesn't work if user doesn't exist in the system. once user is created - ssh authentication works fine. Here are ssh debug logs for: libnss-ldap, libnss-ldapd wo user, and libnss-ldapd w user ** Attachment added: libnss_ldap.log

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-12 Thread Thomas Werschlein
Solution #14 did work for us on Ubuntu 14.04 LTS. We were copying over /etc/ldap.conf via config mgmt for years now. Pretty big impact for a missing newline at the end of a file ... Thanks a lot for pointing out, Graham! -- You received this bug notification because you are a member of Ubuntu

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2015-01-12 Thread Thomas Werschlein
Solution #14 did work for us on Ubuntu 14.04 LTS. We were copying over /etc/ldap.conf via config mgmt for years now. Pretty big impact for a missing newline at the end of a file ... Thanks a lot for pointing out, Graham! -- You received this bug notification because you are a member of Ubuntu

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-12-22 Thread Eric
Dang! this is not a little thing! How does one get some attention on this issue? What does it take to get this bug fixed? Anyone? - This has and is causing me countless hours. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-12-22 Thread Eric
OK, so it appears that libnss-ldapd also works for me. (looks more like RH anyway). -- 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/1024475 Title: libnss-ldap causes boot hang

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-12-22 Thread Eric
Dang! this is not a little thing! How does one get some attention on this issue? What does it take to get this bug fixed? Anyone? - This has and is causing me countless hours. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-12-22 Thread Eric
OK, so it appears that libnss-ldapd also works for me. (looks more like RH anyway). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024475 Title: libnss-ldap causes boot hang on Ubuntu 12.04

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-27 Thread Claudio Kuenzler
I ran into this issue today and I'm very surprised this issue is that old. This bug makes Ubuntu as an LDAP client unusable. #17 did help for faster booting of the machine, but that's it. Any command is still so slow, the machine is useless. #2 tried it like this: - Adapted init script

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-27 Thread Björn K .
I ran into this issue several month ago. I tried every workaround I could find, but nothing worked. The debian documentation already warns that libnss-ldap has been orphaned. This means that it does not have a real maintainer at the moment. They suggest to use the alternative package

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-27 Thread Claudio Kuenzler
I ran into this issue today and I'm very surprised this issue is that old. This bug makes Ubuntu as an LDAP client unusable. #17 did help for faster booting of the machine, but that's it. Any command is still so slow, the machine is useless. #2 tried it like this: - Adapted init script

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-27 Thread Björn K .
I ran into this issue several month ago. I tried every workaround I could find, but nothing worked. The debian documentation already warns that libnss-ldap has been orphaned. This means that it does not have a real maintainer at the moment. They suggest to use the alternative package

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-24 Thread Lumen
#1 worked for me, but now I have to set the groups manually which kind of defeats the purpose (fortunately they don't change much). #17 did not work. I also tested libpam-ldap on a ubuntu server (static ip, no network-manager) without having any problems, so the timing of the upcoming network

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-11-24 Thread Lumen
#1 worked for me, but now I have to set the groups manually which kind of defeats the purpose (fortunately they don't change much). #17 did not work. I also tested libpam-ldap on a ubuntu server (static ip, no network-manager) without having any problems, so the timing of the upcoming network

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-25 Thread Giuseppe Attardi
I had a similar problem after an release upgrade from 12.04.3 to 14.04.1. After the upgrade, only local users could log in and any command was very slooow. In particular commands like add-user or add-group would never finish. Removing mentions of ldap in nsswitch.conf seemed to solve the

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-25 Thread Giuseppe Attardi
I had a similar problem after an release upgrade from 12.04.3 to 14.04.1. After the upgrade, only local users could log in and any command was very slooow. In particular commands like add-user or add-group would never finish. Removing mentions of ldap in nsswitch.conf seemed to solve the

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-17 Thread Anaxim
Hi, I lost more than 4 hours on this issue and found a solution. I hope it could help others. Got the issue on a brand new 14.04.1 installation. Modification of the libnss-ldap (#2) script didn't solve the issue. I found a solution on following the page :

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-17 Thread Anaxim
Hi, I lost more than 4 hours on this issue and found a solution. I hope it could help others. Got the issue on a brand new 14.04.1 installation. Modification of the libnss-ldap (#2) script didn't solve the issue. I found a solution on following the page :

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-11 Thread Jcat-l
At some point, this started working again after a dist-upgrade, so nss_initgroups_ignoreusers is working for me. The only thing I've done on top of that for house keeping purposes, is to modify the init script to remove the ignoreusers line on system start (the configs are controlled vi puppet,

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-11 Thread Jcat-l
At some point, this started working again after a dist-upgrade, so nss_initgroups_ignoreusers is working for me. The only thing I've done on top of that for house keeping purposes, is to modify the init script to remove the ignoreusers line on system start (the configs are controlled vi puppet,

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-10 Thread aaron jonen
I also tried fix #2 . I had to create my own files for : /etc/nsswitch.conf.ldap /etc/nsswitch.conf.local I assume the ldap file contains the ldap and the .local files does not. The fix did not work for me. Please post the above files and the full working script for

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-10 Thread aaron jonen
I also tried fix #2 . I had to create my own files for : /etc/nsswitch.conf.ldap /etc/nsswitch.conf.local I assume the ldap file contains the ldap and the .local files does not. The fix did not work for me. Please post the above files and the full working script for

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-09 Thread Graham Eames
Having recently run into this and spent some time debugging it would appear that one potential cause is if you have edited /etc/ldap.conf and do not have a new line at the end of the file (so in our case copying a standard config in as part of a deployment script) When the libnss-ldap init script

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-09-09 Thread Graham Eames
Having recently run into this and spent some time debugging it would appear that one potential cause is if you have edited /etc/ldap.conf and do not have a new line at the end of the file (so in our case copying a standard config in as part of a deployment script) When the libnss-ldap init script

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-07 Thread husein
the workarund in #2 isnt working for me. but im not sure if i did the right: #! /bin/sh -e ### BEGIN INIT INFO # Provides: libnss-ldap # Required-Start: # Required-Stop: mountall.sh # Default-Start:

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-07 Thread husein
the workarund in #2 isnt working for me. but im not sure if i did the right: #! /bin/sh -e ### BEGIN INIT INFO # Provides: libnss-ldap # Required-Start: # Required-Stop: mountall.sh # Default-Start:

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-04 Thread Ben Brown
Yep, sad to say this is still happening, 2 years later. Brand new install of 14.04 LTS goes into high cpu usage during boot and you never make it to a usable login prompt with LDAP enabled. Tried setting the LDAP URI to localhost, LAN IP and it's FQDN, no effect. Luckily, the workaround posted in

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-04 Thread Ben Brown
Yep, sad to say this is still happening, 2 years later. Brand new install of 14.04 LTS goes into high cpu usage during boot and you never make it to a usable login prompt with LDAP enabled. Tried setting the LDAP URI to localhost, LAN IP and it's FQDN, no effect. Luckily, the workaround posted in

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-03 Thread husein
hello i have a similar problem. im booting fatclients (ltsp). after configuring the ldap client (installing libnss ldap) and adding the paramater ldap to nsswitch.conf, the fatclient doesnt boot! if i removeing ldap all works fine, but this is no solution for me! by the way, the same

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-07-03 Thread husein
hello i have a similar problem. im booting fatclients (ltsp). after configuring the ldap client (installing libnss ldap) and adding the paramater ldap to nsswitch.conf, the fatclient doesnt boot! if i removeing ldap all works fine, but this is no solution for me! by the way, the same

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-04-25 Thread Jcat-l
This is still an issue on 14.04 LTS. This was fixed ages ago with this change: libnss-ldap (251-5.2) unstable; urgency=high * Change the init script policy. Instead of stopping libnss-ldap.init on clean shutdown (touching a file) and starting it after networking (rm-ing it), we touch

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-04-25 Thread Jcat-l
This is still an issue on 14.04 LTS. This was fixed ages ago with this change: libnss-ldap (251-5.2) unstable; urgency=high * Change the init script policy. Instead of stopping libnss-ldap.init on clean shutdown (touching a file) and starting it after networking (rm-ing it), we touch

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-01-30 Thread Eric Martel
Got bit by this, too; however, in my case it's adding ldap to the hosts line that got me into trouble. -- 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/1024475 Title: libnss-ldap

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2014-01-30 Thread Eric Martel
Got bit by this, too; however, in my case it's adding ldap to the hosts line that got me into trouble. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024475 Title: libnss-ldap causes boot hang on

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2013-02-14 Thread Craig Yoshioka
seriously? 6 months and this isn't fixed? I just got bit by this after upgrading and rebooting my LDAP server! Imagine the panic that set in at first. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2013-02-14 Thread Craig Yoshioka
seriously? 6 months and this isn't fixed? I just got bit by this after upgrading and rebooting my LDAP server! Imagine the panic that set in at first. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-08-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libnss-ldap (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-08-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libnss-ldap (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024475 Title:

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-19 Thread Robie Basak
I'm a bit confused. If you're using Network Manager, then you can only expect to get a working network after login, right? But if you want to use LDAP to authenticate the login, how is this going to work before the network is brought up? ** Changed in: libnss-ldap (Ubuntu) Status:

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-19 Thread ghomem
Hi, We are using the Ubuntu's default network configuration, nothing done manually on /etc/interfaces. It does bring the network up before login and works perfectly with nss_winbind. So the problem is likely the integration of nss_ldap on Ubuntu and not the network configuration. -- You

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-19 Thread Robie Basak
I'm a bit confused. If you're using Network Manager, then you can only expect to get a working network after login, right? But if you want to use LDAP to authenticate the login, how is this going to work before the network is brought up? ** Changed in: libnss-ldap (Ubuntu) Status:

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-19 Thread ghomem
Hi, We are using the Ubuntu's default network configuration, nothing done manually on /etc/interfaces. It does bring the network up before login and works perfectly with nss_winbind. So the problem is likely the integration of nss_ldap on Ubuntu and not the network configuration. -- You

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-17 Thread ghomem
Hello Clint, We are using the default for networking, ie, Network Manager. Booting with --verbose noquiet results in the single 2 lines: Loading configuration from /etc/init.conf Loading configuration fomt /etc/init being printed. The system hangs right there. -- You received this bug

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-17 Thread ghomem
Hello Clint, We are using the default for networking, ie, Network Manager. Booting with --verbose noquiet results in the single 2 lines: Loading configuration from /etc/init.conf Loading configuration fomt /etc/init being printed. The system hangs right there. -- You received this bug

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-14 Thread Clint Byrum
Hi gustavo, thanks for taking the time to file this bug report. Network interfaces have two modes. One is /etc/network/interfaces, and the other is NetworkManager. Which are you using? The former will bring up any interfaces as soon as udev detects them. It will also do a blanket bring up of any

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-14 Thread Clint Byrum
Hi gustavo, thanks for taking the time to file this bug report. Network interfaces have two modes. One is /etc/network/interfaces, and the other is NetworkManager. Which are you using? The former will bring up any interfaces as soon as udev detects them. It will also do a blanket bring up of any

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-13 Thread ghomem
Further debug indicates that this is a group resolution problem at boot time because passwd: compat ldap group: compat shadow: compat ldap boots perfectly. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-13 Thread ghomem
Current workaround is changing the existing script /etc/init.d/libnss- ldap to include: [...] case $1 in start) cp -f /etc/nsswitch.conf.ldap /etc/nsswitch.conf ;; stop) cp -f /etc/nsswitch.conf.local /etc/nsswitch.conf

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-13 Thread ghomem
Further debug indicates that this is a group resolution problem at boot time because passwd: compat ldap group: compat shadow: compat ldap boots perfectly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1024475] Re: libnss-ldap causes boot hang on Ubuntu 12.04 Precise

2012-07-13 Thread ghomem
Current workaround is changing the existing script /etc/init.d/libnss- ldap to include: [...] case $1 in start) cp -f /etc/nsswitch.conf.ldap /etc/nsswitch.conf ;; stop) cp -f /etc/nsswitch.conf.local /etc/nsswitch.conf