[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Changed in: gdm Status: New => Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/654249 Title: libnss-ldap create troubles in gnome session when ldap server is unreacheable To manage notifications about this bug go to: https://bugs.launchpad.net/gdm/+bug/654249/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
This does indeed look to be Invalid in libnss-ldap. Its worth taking a look at in glibc though as perhaps there is some work to resolve this in NSS's design, so opening a bug task against eglibc. ** Changed in: libnss-ldap (Ubuntu) Status: Incomplete = Invalid ** Also affects: eglibc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/654249 Title: libnss-ldap create troubles in gnome session when ldap server is unreacheable To manage notifications about this bug go to: https://bugs.launchpad.net/gdm/+bug/654249/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
@Etienne Goyer: I changed the timelimit and bind policy, installed libnss-ldapd and now I don't get trouble with the gnome-session. However I got other trouble like bug #672521. I aggree with your analysis but I'm still looking for a paintless solution. I'll probably write a shell script that change my nsswitch.conf file when the avability of the ldap directory changes. -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
By design, the NSS library is expecting the database to be available and fast to query. When the NSS database become unresponsive (as is the case when using libnss-ldap and the the LDAP directory become unavailable), this assumption breaks and functions such as getpwnam() blocks, which can cause any kinds of funny symptoms in the calling application. This is not really a bug, more like a design flaw in NSS, so there really isn't a good solution for that. If it was my call, I would close this bug as Invalid, even though it is a very real problem, because it is not strictly speaking a bug, or at least not one we can solve in the context of one specific package or library. ld2ndR: the solution to your problem is to use a NSS backend that can work offline, such as SSSD, libnss-ldapd or winbind. Using nscd may help. You can also alleviate the symptoms somewhat by setting bindpolicy to soft, and timelimit and bind_timelimit to low value in /etc/ldap.conf. -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Attachment added: xsession-errors https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/654249/+attachment/1693837/+files/xsession-errors -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Attachment added: 0-slave.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/654249/+attachment/1693843/+files/0-slave.log -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Attachment added: 0.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/654249/+attachment/1693844/+files/0.log -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Attachment added: 0-greeter.log https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/654249/+attachment/1693845/+files/0-greeter.log -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
$ egrep -v ^(#|$) /etc/ldap.conf | cat base dc=local uri ldap://ldap.tlse.lng/ ldap_version 3 rootbinddn cn=manager,dc=example,dc=net timelimit 2 bind_timelimit 1 bind_policy soft idle_timelimit 1 pam_password md5 nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,haldaemon,hplip,irc,kernoops,libuuid,libvirt-qemu,list,lp,mail,man,messagebus,news,nslcd,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,sshkey,statd,sync,sys,syslog,uml-net,usbmux,uucp,www-data -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
** Changed in: gdm Status: Unknown = New ** Changed in: gdm Importance: Unknown = Medium -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
Thank you for reporting this bug and helping make Ubuntu better -- and thank you very much for the research on the workaround. I have added a GDM task, and opened a Gnome bug on for it (and linked it here). This does not sound as much as a libnss-ldap issue as a GDM issue. ** Also affects: gdm (Ubuntu) Importance: Undecided Status: New ** Bug watch added: GNOME Bug Tracker #631328 https://bugzilla.gnome.org/show_bug.cgi?id=631328 ** Also affects: gdm via https://bugzilla.gnome.org/show_bug.cgi?id=631328 Importance: Unknown Status: Unknown -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
I am marking the libnss-ldap task Incomplete/Low, waiting for feedback from the desktop folks. I expect it to be eventually set to invalid, though. ** Changed in: libnss-ldap (Ubuntu) Importance: Undecided = Low ** Changed in: libnss-ldap (Ubuntu) Status: New = Incomplete -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 654249] Re: libnss-ldap create troubles in gnome session when ldap server is unreacheable
@Id2ndR: can you please attach here the contents of you ~/.xsession- errors and /var/log/gdm/* when you try to login disconnected? Thank you. -- libnss-ldap create troubles in gnome session when ldap server is unreacheable https://bugs.launchpad.net/bugs/654249 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs