Bug 417865 - nscd crashes with hosts cache enabled
Summary: nscd crashes with hosts cache enabled
Status: RESOLVED DUPLICATE of bug 387202
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: 64bit openSUSE 11.0
: P5 - None : Major with 10 votes (vote)
Target Milestone: ---
Assignee: Petr Baudis
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 15:48 UTC by Egbert König
Modified: 2008-11-19 19:24 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
original nscd.conf, only log changed, crash occurs with this configuration file (2.09 KB, text/plain)
2008-08-17 15:48 UTC, Egbert König
Details
nscd.log, please watch the last line, which always occurs before the crash (24.44 KB, text/x-log)
2008-08-17 15:50 UTC, Egbert König
Details
patch for nscd.conf, which disables hosts caching (335 bytes, patch)
2008-08-17 15:51 UTC, Egbert König
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Egbert König 2008-08-17 15:48:57 UTC
Created attachment 233744 [details]
original nscd.conf, only log changed, crash occurs with this configuration file

With the hosts cache enabled, nscd crashes regularely during boot time on my system. This bug seems to be similar to http://www.mail-archive.com/debian-bugs-closed%40lists.debian.org/msg121181.html,
but there is no persistant hosts cache, and so removing the hosts cache is not possible.

As a workaround it is possible to disable the hosts cache in /etc/nscd.conf.

With debug level 5 the last message in nscd.log before the crash is

6592: remove GETAI entry "mail"

This operation seems to cause the crash.

I attach my nscd.conf and nscd.log to this bug.
Comment 1 Egbert König 2008-08-17 15:50:13 UTC
Created attachment 233745 [details]
nscd.log, please watch the last line, which always occurs before the crash
Comment 2 Egbert König 2008-08-17 15:51:59 UTC
Created attachment 233746 [details]
patch for nscd.conf, which disables hosts caching

This patch can be published through the openSuSE update service, to prevent nscd crashes on other user's computers.
Comment 3 Egbert König 2008-08-27 17:26:11 UTC
It is even worse. nscd crashes still, with disabled hosts caching. It is just not as often as with host caching. Always cleanup operations are the last recorded actions before the crash. It seems to be a general bug in the cache container cleanup.

Crashes occure regularly after starting up my system. Then many passwd entries in the persistent cache get outdated, and many cleanup operations occur. I try now to disable persistent caching in nscd.conf as another workaround.
Comment 4 Egbert König 2008-08-27 17:32:28 UTC
This bug is a show stopper in LDAP environments, as the resolver library routines hang in these environment, when nscd is not running. Because off this I cannot start VMware workstation as a LDAP user while nscd is not running. Right now I watch out for nscd to be running before I try to use VMware. But a normal user (and there will be lots off them in typical LDAP environments) will not be able to do this or even to start nscd.
Comment 5 Petr Baudis 2008-11-19 19:24:29 UTC

*** This bug has been marked as a duplicate of bug 387202 ***