--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: nscd dies silently when nis stops, cache corruption?
- From: Francesco Paolo Lovergine <frankie@debian.org>
- Date: Tue, 23 May 2006 23:02:19 +0200
- Message-id: <20060523210219.27520.74436.reportbug@klecker>
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 ---