From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 09:28:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E7BC37B401 for ; Fri, 18 Apr 2003 09:28:32 -0700 (PDT) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6201C43F85 for ; Fri, 18 Apr 2003 09:28:31 -0700 (PDT) (envelope-from philip@paeps.cx) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 460AA1FFFC for ; Fri, 18 Apr 2003 18:28:30 +0200 (CEST) Received: from fortuna.home.paeps.cx (D5768746.kabel.telenet.be [213.118.135.70]) by eos.telenet-ops.be (Postfix) with ESMTP id 363611FF73 for ; Fri, 18 Apr 2003 18:28:30 +0200 (CEST) Received: from juno.home.paeps.cx (juno.home.paeps.cx [2001:ab8:2007:0:240:f4ff:fe31:3090]) by fortuna.home.paeps.cx (Postfix) with ESMTP id 66CF420AB for ; Fri, 18 Apr 2003 18:27:48 +0200 (CEST) Received: by juno.home.paeps.cx (Postfix, from userid 1001) id 726FE217B; Fri, 18 Apr 2003 18:28:17 +0200 (CEST) Date: Fri, 18 Apr 2003 18:28:13 +0200 From: Philip Paeps To: current@freebsd.org Message-ID: <20030418162813.GA714@juno.home.paeps.cx> Mail-Followup-To: current@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-Date-in-Rome: ante diem XIV Kalendas Maias MMDCCLVI ab Urbe Condida X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879 X-Message-Flag: Get a proper mailclient! Mutt: User-Agent: Mutt/1.5.4i Subject: Re: Latest world NIS woes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 16:28:32 -0000 On 2003-04-18 12:02:17 (-0400), Robin P. Blanchard wrote: > # id robin > Segmentation fault (core dumped) > # ls -al > Segmentation fault > # chown robin:NSS ktrace.out.gz > Segmentation fault > # chown 20292:30028 ktrace.out.gz > (success) I'm also getting ssh to dump cores on me when I run it as a nis user. No problems as a normal user. I have 'passwd: nis files' and 'group: nis files' in my nsswitch.conf. Gdb tells me the following (after compiling ssh with symbols): (gdb) bt #0 0x2828d1e5 in strlen () from /usr/lib/libc.so.5 #1 0x282a1ba0 in .curbrk () from /usr/lib/libc.so.5 #2 0x280a1e5c in pwcopy () from /usr/lib/libssh.so.2 #3 0x0804cb41 in main (ac=1, av=0xbfbff7c8) at /usr/src/crypto/openssh/ssh.c:261 #4 0x0804c475 in _start () (gdb) list 227 init_rng(); 228 229 /* 230 * Save the original real uid. It will be needed later (uid-swapping 231 * may clobber the real uid). 232 */ 233 original_real_uid = getuid(); 234 original_effective_uid = geteuid(); 235 236 /* (gdb) Looks like it doesn't like the new nss-bits :-) - Philip -- Philip Paeps Please don't CC me, I am philip@paeps.cx subscribed to the list. Bare feet magnetise sharp metal objects so they always point upward from the floor -- especially in the dark.