[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368658: marked as done (nscd dies silently when nis stops, cache corruption?)



Your message dated Thu, 19 Jul 2007 08:36:12 +0200
with message-id <20070719063611.GA28062@i386.aurel32.net>
and subject line Fix bugs using a correct version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nscd
Version: 2.3.6-9
Severity: normal

On a NIS client:

klecker:/var/log$ sudo /etc/init.d/nscd start
Starting Name Service Cache Daemon: nscd.
klecker:/var/log$ pgrep nscd
27324
klecker:/var/log$ sudo /etc/init.d/nis start 
Starting NIS services: ypbind 
klecker:/var/log$ pgrep bind                
27347
klecker:/var/log$ sudo /etc/init.d/nis stop 
klecker:/var/log$ pgrep nscd
klecker:/var/log$

Using debugging mode:

27601: handle_request: request received (Version = 2) from PID 27609
27601:  GETFDPW
27601: provide access to FD 4, for passwd
27601: handle_request: request received (Version = 2) from PID 27609
27601:  GETFDGR
27601: provide access to FD 6, for group
27601: Reloading "irc.oftc.net" in hosts cache!
nscd: hstcache.c:364: cache_addhst: Assertion `hst->h_addr_list[1] == ((void *)0)' failed.
Aborted

Removing cache files in /var/cache/nscd solves the issue. I think the
program is quite weak in respect with cache checking before their use.
That could explain randomly faults reported from time to time...
Any reason to not remove the cache files at startup for safety?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)

Versions of packages nscd depends on:
ii  libc6                         2.3.6-9    GNU C Library: Shared libraries

nscd recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.5-1

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: