From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1901 Path: news.gmane.org!not-for-mail From: David Miller Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: chpst -u -/ "unable to get password/group file entry" Date: Wed, 6 Aug 2008 21:39:41 -0500 Message-ID: <20080807023941.GA15934@pretender.frop.net> References: <20080804165415.GA7030@pretender.frop.net> <20080805145630.GX16519@ice.mudshark.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218076794 31990 80.91.229.12 (7 Aug 2008 02:39:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 02:39:54 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2136-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Aug 07 04:40:44 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1KQvQh-0005Cp-3P for gcsg-supervision@gmane.org; Thu, 07 Aug 2008 04:40:43 +0200 Original-Received: (qmail 26611 invoked by uid 76); 7 Aug 2008 02:40:04 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 26602 invoked from network); 7 Aug 2008 02:40:04 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=frop.net; b=n7wdS4i6geeDE4y05IXXLAn9vdD3t1RMa6haOi3wytKflL3rRASdy9uetWj8f5+a8SLSstxMZM9/ZeY/fhk2lFPaZSBbt/AaDNLK+7lgG/2pu8eA9GeP4KXZOZkDaIEZHZGMcBiH23Eyu3fNqJgccY1Iyk3hxFwSOgi4g8yXpd8= ; Content-Disposition: inline In-Reply-To: <20080805145630.GX16519@ice.mudshark.org> User-Agent: Mutt/1.4.2.3i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1901 Archived-At: Thanks for the suggestion. I wonder if you could give me some pointers on how to use strace and what t= o look for. I'm not very familiar with it Thanks Jack spoke thusly: > On Mon, Aug 04, 2008 at 11:54:15AM -0500, David Miller wrote: >=20 > > When I try to combine -u and -/ I get the error: > > chpst: fatal: unable to get password/group file entry: file does not ex= ist > =20 > I suspect glibc NSS[0] (name service switching). chpst is *probably* tryi= ng to > dlopen() one of the libnss_* files or /etc/nsswitch.conf. I suggest putti= ng > strace into your chroot, and then tracing chpst.=20 >=20 > --Jack=20 >=20 > [0] NSS is also the typical argument the glibc developers use not to supp= ort > static linking. Statically linked binaries are great for chroots, because= you > don't need any libraries.=20 >=20 > -- > Jack (John) Cummings http://mudshark.org/ > PGP fingerprint: F18B 13A3 6D06 D48A 598D 42EA 3D53 BDC8 7917 F802