From owner-freebsd-stable@FreeBSD.ORG Wed Oct 5 17:29:01 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29C52106566C for ; Wed, 5 Oct 2011 17:29:01 +0000 (UTC) (envelope-from faber@isi.edu) Received: from vim.isi.edu (unknown [IPv6:2001:1878:400:1:16fe:b5ff:fee4:12d]) by mx1.freebsd.org (Postfix) with ESMTP id E89338FC0A for ; Wed, 5 Oct 2011 17:29:00 +0000 (UTC) Received: from vim.isi.edu (localhost [127.0.0.1]) by vim.isi.edu (8.14.5/8.14.5) with ESMTP id p95HT0or019222 for ; Wed, 5 Oct 2011 10:29:00 -0700 (PDT) (envelope-from faber@isi.edu) Date: Wed, 5 Oct 2011 10:28:59 -0700 From: Ted Faber To: freebsd-stable@freebsd.org Message-ID: <20111005172859.GA19064@vim.isi.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline X-url: http://www.isi.edu/~faber User-Agent: Mutt/1.5.21 (2010-09-15) Subject: nscd and passwd_compat X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 17:29:01 -0000 --b5gNqxB1S1yM7hjW Content-Type: multipart/mixed; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After the recent discussion of nscd here, I turned it on and after fooling with various configuration files I think I have it up, but I'm getting a warning(?) message from many programs when they call _nsdispatch: dbus[3037]: NSSWITCH(_nsdispatch): cache, passwd_compat, getpwnam_r, not found, and no fallback provided dbus[3037]: NSSWITCH(_nsdispatch): cache, passwd_compat, getpwnam_r, not found, and no fallback provided I am using passwd_compat, and I think I have nscd compiled to cahce it and passwd, but the message gives me pause. Everything is still resolving, but I'm wondering if I'm getting any benefit.=20 I tried running nscd with debugging messages (-t -s -d) and didn't see anything change when another program generated the message. I've attached my /etc/nsswitch.conf and /etc/nscd.conf Any feedback would be great. --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nsswitch.conf" # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1 2009/08/03 08:13:06 kensmith Exp $ # group: compat group_compat: cache nis hosts: files dns networks: files passwd: compat passwd_compat: cache nis shells: files services: compat services_compat: cache nis protocols: files rpc: files --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nscd.conf" # # Default caching daemon configuration file # $FreeBSD: src/etc/nscd.conf,v 1.2.4.1 2009/08/03 08:13:06 kensmith Exp $ # enable-cache passwd yes enable-cache passwd_compat yes enable-cache group yes enable-cache group_compat yes enable-cache hosts yes enable-cache services yes enable-cache services_compat yes enable-cache protocols yes enable-cache rpc yes enable-cache networks yes --G4iJoqBmSsgzjUCe-- --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6Mk9sACgkQaUz3f+Zf+Xud0wCfYPu6Ak4/kXt6Vt6Vild9f7F1 7NwAoMNUSkvvMxnqdtOLZSsJxrzIzlYP =I+Tp -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--