Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 18:28:13 +0200
From:      Philip Paeps <philip@paeps.cx>
To:        current@freebsd.org
Subject:   Re: Latest world NIS woes
Message-ID:  <20030418162813.GA714@juno.home.paeps.cx>
In-Reply-To: <EE3D3FBAFFCAED448C21C398FDAD91AC0107F7@EBE1.gc.nat>
References:  <EE3D3FBAFFCAED448C21C398FDAD91AC0107F7@EBE1.gc.nat>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-04-18 12:02:17 (-0400), Robin P. Blanchard <Robin.Blanchard@gactr.uga.edu> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418162813.GA714>