udev vs ldap at startup

2006-08-05 Thread Brian May
Hello, I found my debian/testing computer was hanging on startup. udev was trying to contact LDAP (via NSS), but LDAP wasn't configured yet. After much trial and error I came up with: [EMAIL PROTECTED]:~# tethereal -r /root/tethereal -V | grep Filter: Filter: (&(objectClass=posixGroup)

Re: udev vs ldap at startup

2006-08-06 Thread Marco d'Itri
On Aug 06, Brian May <[EMAIL PROTECTED]> wrote: > What should be creating the above users/groups? The relevant packages. > Could udevd be changed to make debugging these issues easier, > e.g. maybe some sort of verbose mode? You just have to enable it. > Should I file any bug reports, if so what

Re: udev vs ldap at startup

2006-08-06 Thread Stephen Gran
This one time, at band camp, Marco d'Itri said: > On Aug 06, Brian May <[EMAIL PROTECTED]> wrote: > > > What should be creating the above users/groups? > The relevant packages. > > > Could udevd be changed to make debugging these issues easier, > > e.g. maybe some sort of verbose mode? > You just

Re: udev vs ldap at startup

2006-08-06 Thread Marco d'Itri
On Aug 06, Stephen Gran <[EMAIL PROTECTED]> wrote: > Can we not just move those rules to the packages that create those > users? I assume they are system users, who shouldn't be in LDAP anyway. Yes, but there is no real reason to do it. So far I have been suggesting to use a per-package rules fil

Re: udev vs ldap at startup

2006-08-09 Thread Petter Reinholdtsen
[Brian May] > I found my debian/testing computer was hanging on startup. udev was > trying to contact LDAP (via NSS), but LDAP wasn't configured yet. I recently discovered the same problem with debian-edu. We install an ldap server on the same machine using libnss-ldap, and the boot just hang.

Re: udev vs ldap at startup

2006-08-09 Thread Steve Langasek
On Wed, Aug 09, 2006 at 03:01:05PM +0200, Petter Reinholdtsen wrote: > [Brian May] > > I found my debian/testing computer was hanging on startup. udev was > > trying to contact LDAP (via NSS), but LDAP wasn't configured yet. > I recently discovered the same problem with debian-edu. We install an

Re: udev vs ldap at startup

2006-08-10 Thread Brian May
> "Steve" == Steve Langasek <[EMAIL PROTECTED]> writes: Steve> libnss-ldap has a new, retarded upstream default where it Steve> polls the server several times in the case of a connection Steve> refused error instead of just returning a notfound to the Steve> caller. Ar

Re: udev vs ldap at startup

2006-08-11 Thread Gabor Gombas
On Fri, Aug 11, 2006 at 02:59:16PM +1000, Brian May wrote: > The second query is trying to find out all the groups root is in (is > it possible to skip this???). Only if you either remove ldap from the groups: line in nsswitch.conf, or you do not use any programs that call initgroups()/getgrent()

Re: udev vs ldap at startup

2006-08-11 Thread Vincent Danjean
Brian May a écrit : > So that probably would explain why I can no longer log in as root when > the NSS LDAP server is down, even with LDAP PAM support disabled and > files is listed before ldap in /etc/nsswitch.conf. I run in a similar problem a few days ago. I misconfigured /etc/nsswitch.conf by

Re: udev vs ldap at startup

2006-08-12 Thread Gabor Gombas
On Fri, Aug 11, 2006 at 12:56:23PM +0200, Vincent Danjean wrote: > Then, I've been unable to start the userspace. I mean, even > with 'init=/bin/bash' on the kernel cmdline, it did not work > (ie it hung up). Next time try "init=/bin/dash". dash avoids the unneccessary NSS lookups bash performs.