Bug#375215: libnss-ldap hangs udev at startup

2006-06-26 Thread Stephen Frost
* Gasper Zejn ([EMAIL PROTECTED]) wrote: > It does not want to time out. After each timeout, it just tries again and > again. Please try 251-5 and see if it helps. Thanks, Stephen signature.asc Description: Digital signature

Bug#375077: Bug#375215: libnss-ldap hangs udev at startup

2006-06-25 Thread Stephen Frost
* Gasper Zejn ([EMAIL PROTECTED]) wrote: > [pid 5186] connect(7, {sa_family=AF_INET, > sin_port=htons(389), sin_addr=inet_addr("10.10.7.99")}, 16) > = -1 ENETUNREACH (Network is unreachable) > > clearly means network is not setup properly to be able to > reach LDAP server, since there's no mat

Bug#375215: libnss-ldap hangs udev at startup

2006-06-25 Thread Stephen Frost
* Gasper Zejn ([EMAIL PROTECTED]) wrote: > Dne sobota 24 junij 2006 17:04 ste napisali: > > Do you have a reasonably complete /etc/passwd and > > /etc/shadow files for the local accounts? > > Yes, I am actually using local account for daily work. > > > Also, have you actually waited it out? Even

Bug#375215: libnss-ldap hangs udev at startup

2006-06-25 Thread Andre Tomt
I'm also seeing new odd behaviour after upgrading libnss-ldap. As long as nscd is not running, slapd start blocks for about 5-10 minutes. If I start nscd before slapd it works, but I might end up with a invalid cache for some period of time if other lookups have happened and failed due to unav

Bug#375215: libnss-ldap hangs udev at startup

2006-06-25 Thread Gasper Zejn
If I do strace -f /etc/init.d/udev start while my network is down, I get [pid 5186] stat64("/etc/libnss-ldap.conf", {st_mode=S_IFREG| 0644, st_size=9094, ...}) = 0 [pid 5186] geteuid32() = 0 [pid 5186] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7 [pid 5186] setsockopt(7, S

Bug#375215: libnss-ldap hangs udev at startup

2006-06-24 Thread Gasper Zejn
Dne sobota 24 junij 2006 17:04 ste napisali: > Do you have a reasonably complete /etc/passwd and > /etc/shadow files for the local accounts? Yes, I am actually using local account for daily work. > Also, have you actually waited it out? Eventually, it > should time out (after about 2 minutes pe

Bug#375215: libnss-ldap hangs udev at startup

2006-06-24 Thread Stephen Frost
* Gasper Zejn ([EMAIL PROTECTED]) wrote: > My nsswitch.conf: > > passwd: compat ldap > group: compat ldap > shadow: compat ldap > > Other lines don't have ldap. > > I have no custom udev rules. Do you have a reasonably complete /etc/passwd and /etc/shadow files for the

Bug#375215: libnss-ldap hangs udev at startup

2006-06-24 Thread Gasper Zejn
Dne sobota 24 junij 2006 15:07 je Stephen Frost napisal(a): > This is being discussed in #375077. libnss-ldap can be > configured to give up when a request comes in, so there's a > work-around. In general, it's expected that requests for > NSS information early on would be satisfied by 'files'.

Bug#375215: libnss-ldap hangs udev at startup

2006-06-24 Thread Stephen Frost
* Gasper Zejn ([EMAIL PROTECTED]) wrote: > After I installed libnss-ldap, udevd stalled at startup, > waiting for libnss-ldap, which can't connect to a remote LDAP > server, since networking is not yet set up at that time. This is being discussed in #375077. libnss-ldap can be configured to giv

Bug#375215: libnss-ldap hangs udev at startup

2006-06-24 Thread Gasper Zejn
Package: libnss-ldap Version: 251-1 Severity: critical After I installed libnss-ldap, udevd stalled at startup, waiting for libnss-ldap, which can't connect to a remote LDAP server, since networking is not yet set up at that time. Since libnss-ldap can't connect to LDAP server, it just keeps r