This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: sshd fails with "getnameinfo NI_NUMERICSERV failed"
- To: leitner at convergence dot de
- Subject: Re: sshd fails with "getnameinfo NI_NUMERICSERV failed"
- From: John Kennedy <jk at csuchico dot edu>
- Date: Fri, 22 Sep 2000 08:21:45 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <20000922111827.24191.qmail@convergence.de>
Hsm. I'm not seeing that problem:
warlock@akasha: ssh localhost w
warlock@localhost's password:
8:09am up 13:33, 3 users, load average: 1.35, 1.22, 1.19
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root tty1 - Thu 6pm 1:24m 8.02s 0.01s /bin/bash /u/wa
warlock tty3 - 10:53pm 40:57 0.07s 0.07s -bash
warlock ttyp0 netsys.csuchico. 8:03am 6.00s 0.10s 0.05s ssh localhost w
warlock@akasha: ls /lib/libc-*.so
/lib/libc-2.1.94.so
warlock@akasha: ssh -V
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
That should be openssh-2.1.1p4.
cat /proc/version
Linux version 2.4.0-test9 (warlock@akasha) (gcc version 2.95.2 19991024 (release)) #150 SMP Sun Sep 17 15:33:18 PDT 2000
This is actually linux-2.4.0-test9pre2.
I'm actually using a patched version of gcc-2.95.2 because the snapshots
of 2.96 I was using were causing too many problems of their own.
On Fri, Sep 22, 2000 at 11:18:27AM -0000, leitner@convergence.de wrote:
> >Submitter-Id: net
> >Originator: Felix von Leitner
> >Organization: Convergence
> >Confidential: no
> >Synopsis: sshd from openssh-2.1.1p4 aborts incoming connections
> >Severity: critical
> >Priority: high
> >Category: libc
> >Class: sw-bug
> >Release: libc-2.1.94
> >Environment:
>
> Host type: i686-pc-linux-gnu
> System: Linux baileys 2.2.16 #1 SMP Mon Jun 26 17:22:24 CEST 2000 i686 unknown
> Architecture: i686
>
> Addons: linuxthreads
> Build CFLAGS: -O2 -Os -pipe -I/usr/local/include
> Build CC: gcc
> Compiler version: 2.95.2 19991024 (release)
> Kernel headers: 2.2.16
> Symbol versioning: yes
> Build static: yes
> Build shared: yes
> Build pic-default: no
> Build profile: no
> Build omitfp: no
> Build bounded: no
> Build static-nss: no
> Stdio: libio
>
> >Description:
> the sshd from openssh-2.1.1p4 (compiled under glibc 2.1.1) fails
> under glibc-2.1.94 with this error message in syslog:
> Sep 22 13:10:28 baileys sshd[24096]: fatal: get_sock_port: getnameinfo NI_NUMERICSERV failed
> Recompiling it under glibc-2.1.94 does not fix the problem.
> >How-To-Repeat:
> compile and install openssh and try to "ssh localhost"
> >Fix:
> I have no idea.