Bug#324890: nscd does not respond
Scott Barker [EMAIL PROTECTED] writes: The latest version of ncsd opens a socket in /var/run/.nscd_socket, however it appears the glibc libraries are looking for it in /var/run/nscd/socket. After making a symlink from /var/run/nscd/socket to /var/run/.nscd_socket, an strace on 'ls -l' shows nscd being used. nscd 2.3.6-6 opens /var/run/nscd/socket, as does libc6 2.3.6-6. Which version are you using? I also note that an strace on 'getent passwd' doesn't seem to use nscd, while 'getent passwd user' does. AFAIK, that's how it works -- nscd only handles individual requests where there is a benefit from caching. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Putting this in a public post is silly. Cheers, Matej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#324890: nscd does not respond
The latest version of ncsd opens a socket in /var/run/.nscd_socket, however it appears the glibc libraries are looking for it in /var/run/nscd/socket. After making a symlink from /var/run/nscd/socket to /var/run/.nscd_socket, an strace on 'ls -l' shows nscd being used. I also note that an strace on 'getent passwd' doesn't seem to use nscd, while 'getent passwd user' does. On Mon, Feb 20, 2006 at 03:57:48PM +0100, Matej Vela wrote: tag 324890 moreinfo thanks Scott Barker [EMAIL PROTECTED] writes: nscd hangs and does not respond to requests when used on a 2.6.X kernel. This can make it impossible for anyone to log in (especially when using libnss-mysql-bg), including root (even with root in /etc/passwd). Is this still a problem for you? Can you reproduce it with Debian's default kernel? Thanks, Matej -- Scott Barker[EMAIL PROTECTED] Manager, Infrastructure 403-233-0740 x248 M-Tech Information Technology, Inc. http://mtechIT.com Sign-up for M-Tech's spring training sessions: P-Synch: April 17-21; ID-Synch: April 24-28 To register, please visit: http://mtechIT.com/education/ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#324890: nscd does not respond
tag 324890 moreinfo thanks Scott Barker [EMAIL PROTECTED] writes: nscd hangs and does not respond to requests when used on a 2.6.X kernel. This can make it impossible for anyone to log in (especially when using libnss-mysql-bg), including root (even with root in /etc/passwd). Is this still a problem for you? Can you reproduce it with Debian's default kernel? Thanks, Matej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#324890: nscd does not respond
Package: nscd Version: 2.3.2.ds1-22 Severity: critical Tags: patch Justification: breaks the whole system nscd hangs and does not respond to requests when used on a 2.6.X kernel. This can make it impossible for anyone to log in (especially when using libnss-mysql-bg), including root (even with root in /etc/passwd). Using LD_ASSUME_KERNEL=2.4.31 appears to fix the problem. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.11-ruby Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages nscd depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information --- /etc/init.d/nscd.orig 2005-08-24 11:33:22.0 -0600 +++ /etc/init.d/nscd2005-08-23 08:31:36.0 -0600 @@ -20,6 +20,8 @@ ;; esac +export LD_ASSUME_KERNEL=2.4.31 + RETVAL=0 case $1 in start)
Bug#324890: nscd does not respond
reassign 324890 libnss-mysql-bg thanks On Wed, Aug 24, 2005 at 11:36:51AM -0600, Scott Barker wrote: Package: nscd Version: 2.3.2.ds1-22 Severity: critical Tags: patch Justification: breaks the whole system nscd hangs and does not respond to requests when used on a 2.6.X kernel. This can make it impossible for anyone to log in (especially when using libnss-mysql-bg), including root (even with root in /etc/passwd). Then what reason is there to think this is an nscd bug, rather than a libnss-mysql-bg bug? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature
Bug#324890: nscd does not respond
This issue is not specific to libnss-mysql-bg - even when using just 'files' in nsswitch.conf, nscd does not respond without the LD_ASSUME_KERNEL flag. On Wed, Aug 24, 2005 at 12:12:39PM -0700, Steve Langasek wrote: reassign 324890 libnss-mysql-bg thanks On Wed, Aug 24, 2005 at 11:36:51AM -0600, Scott Barker wrote: Package: nscd Version: 2.3.2.ds1-22 Severity: critical Tags: patch Justification: breaks the whole system nscd hangs and does not respond to requests when used on a 2.6.X kernel. This can make it impossible for anyone to log in (especially when using libnss-mysql-bg), including root (even with root in /etc/passwd). Then what reason is there to think this is an nscd bug, rather than a libnss-mysql-bg bug? -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- Scott Barker[EMAIL PROTECTED] Manager, Infrastructure 403-233-0740 x248 M-Tech Information Technology, Inc. http://mtechIT.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#324890: nscd does not respond
Processing commands for [EMAIL PROTECTED]: reassign 324890 libnss-mysql-bg Bug#324890: nscd does not respond Bug reassigned from package `nscd' to `libnss-mysql-bg'. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]