nscd not caching

Eggert, Lars lars at netapp.com
Thu Aug 14 11:27:29 UTC 2014


[Resending to current@, since I can't get it to work on -CURRENT either.]

Hi,

anyone have an idea why nscd would not be caching NIS lookups?

My nsswitch.conf looks as follows:

group: cache files nis
hosts: cache files dns
networks: cache files
passwd: cache files nis
shells: files
services: cache files nis
protocols: cache files
rpc: cache files

nisdomain is set and ypbind is started, and I see lots of NIS traffic going in and out.

But nothing is cached; running nscd with -t just prints this and then then nothing, ever:

M1 from main: successfully daemonized
M1 from main: request agents registered successfully
M2 from cache: cache was successfully initialized
M2 from runtime environment: using socket /var/run/nscd
M2 from runtime environment: successfully initialized
M1 from main: thread #0 was successfully created
M1 from main: thread #1 was successfully created
M1 from main: thread #2 was successfully created
M1 from main: thread #3 was successfully created
M1 from main: thread #4 was successfully created
M1 from main: thread #5 was successfully created
M1 from main: thread #6 was successfully created
M1 from main: thread #7 was successfully created

Lars

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140814/b2b3f005/attachment.sig>


More information about the freebsd-current mailing list