Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 11:58:21 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        "hackers@freebsd.org" <hackers@freebsd.org>
Subject:   nscd not caching
Message-ID:  <9F8FBD79-2825-4B22-BD14-EACF65A7DD50@netapp.com>

next in thread | raw e-mail | index | archive | help
--Apple-Mail=_A11AFBBE-B33C-4780-A4A8-DA70BFBF9564
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

anyone have an idea why nscd would not be caching NIS lookups on =
10-RELEASE?

My nsswitch.conf looks as follows:

group: cache files nis
#group_compat: nis
hosts: cache files dns
networks: files
passwd: cache files nis
#passwd_compat: nis
shells: files
services: cache files nis
#services_compat: nis
protocols: files
rpc: 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 -nst just prints this and then sits =
there:

root@laurel:~ # nscd -nst
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: working in single-threaded mode

Lars


--Apple-Mail=_A11AFBBE-B33C-4780-A4A8-DA70BFBF9564
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQCVAwUBU+iv99ZcnpRveo1xAQK2FAP+NUpt0VBJpfd7SIRW2dTHsPdnVMExTUPM
b9ZFI43D7kxvDQVIjPfYtHQvtxNAo6F47zSfitDjdEI7/EYy/n+4wuXgQj2XE7+7
gY6i24SVNcFf6rOERC0yyN1PtGsFA0aASOyhfPInkr+sKQ+2cgnIfedHhSpI/MFj
ry3E7yjSV/Y=
=Pa61
-----END PGP SIGNATURE-----

--Apple-Mail=_A11AFBBE-B33C-4780-A4A8-DA70BFBF9564--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9F8FBD79-2825-4B22-BD14-EACF65A7DD50>