Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 11:26:48 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   nscd not caching
Message-ID:  <FA0C5D1E-780A-4B01-8513-5A4B77DA051D@netapp.com>

next in thread | raw e-mail | index | archive | help
--Apple-Mail=_21F53EF8-54DC-4516-BACE-AD3A401FCD8C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

[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


--Apple-Mail=_21F53EF8-54DC-4516-BACE-AD3A401FCD8C
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+ydHdZcnpRveo1xAQJQ3gP+OTe/yYJrI25SLsLeYVypEyuEsNL3Pfvs
29COKz7zDFTFt8iKHxGZtwCv61xE057hRyV/sbB040fDn3L2JLNKzbwGEbIuIAxW
Hiu52ZI1/4dEUezGOg22pz5kpTuJ47qyxAA56zvydg6kqcJw040gKc92FNWT9GfH
6dPbPDL37zQ=
=fyQO
-----END PGP SIGNATURE-----

--Apple-Mail=_21F53EF8-54DC-4516-BACE-AD3A401FCD8C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FA0C5D1E-780A-4B01-8513-5A4B77DA051D>