NetBSD Problem Report #10304
Received: (qmail 5025 invoked from network); 6 Jun 2000 21:12:28 -0000
Message-Id: <51474658@Ahorn.hall.sub.org>
Date: Tue, 06 Jun 2000 23:08:41 +0100
From: "Andreas Horneffer" <Driss@hadii512.hadiko.uni-karlsruhe.de>
Reply-To: "Andreas.Horneffer" <Andreas.Horneffer@hadiko.de>
To: "gnats-bugs" <gnats-bugs@gnats.netbsd.org>
Subject: a.out Emulation: Resolving does not work
>Number: 10304
>Category: kern
>Synopsis: IP-address resolving of a.out-binaries fails with a.out-emulation
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 06 21:13:00 +0000 2000
>Closed-Date: Thu Oct 23 05:40:37 +0000 2008
>Last-Modified: Thu Oct 23 05:40:37 +0000 2008
>Originator: Andreas Horneffer
>Release: 20000527
>Organization:
>Environment:
AMD-K6, NetBSD-i386 1.4Z; 1.4.2 libraries in /emul/aout/usr/lib
System: NetBSD cypresse 1.4Z NetBSD 1.4Z (GENERIC) #12: Sat May 27 16:55:41 PDT 2000 root@swinger:/u1/snapshots/src/sys/arch/i386/compile/GENERIC i386
>Description:
IP-Address resolving of a.out-binaries fails with the
a.out-emulation of NetBSD 1.4Z. I tested it with the
a.out-versions of dnetc, ircII and socket, but I believe
all a.out-binaries are affected.
>How-To-Repeat:
Just try to use a hostname in an a.out binary with an ELF-Kernel. E.g.:
> cypresse% file `which socket`
> /usr/pkg/bin/socket: NetBSD/i386 demand paged dynamically linked executable
> cypresse% socket i512.hadiko.de quote
> socket: unknown host i512.hadiko.de
> cypresse%
Meanwhile on the Network:
> tcpdump: listening on ne0
> 23:46:34.870660 172.20.54.132.64406 > 172.20.32.1.53: 25485+ A? i512.hadiko.de. (32)
> 23:46:34.874729 172.20.32.1.53 > 172.20.54.132.64406: 25485* 1/2/2 A 172.20.44.132 (152) (DF)
(172.20.54.132 =3D cypresse; 172.20.32.1 =3D Nameserver)
>Fix:
Fix: Use IP-address instead of hostname. E.g.:
> cypresse% socket 172.20.44.132 quote
> Ei t=E4st=E4 pidot parane, ellei vierahat v=E4hene.
> cypresse%
Gru=DF, Andreas
----
Andreas Horneffer Andreas.Horneffer@hadiko.de (No Mails >16KB!)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->port-i386-maintainer
Responsible-Changed-By: fair
Responsible-Changed-When: Fri Jun 9 21:28:51 PDT 2000
Responsible-Changed-Why:
malformed PR manually reformatted, and reassigned to proper default party.
From: itojun@iijlab.net
To: "Andreas.Horneffer" <Andreas.Horneffer@hadiko.de>
Cc: "gnats-bugs" <gnats-bugs@gnats.netbsd.org>
Subject: Re: port-i386/10348: a.out Emulation: Resolving does not work
Date: Tue, 13 Jun 2000 18:30:05 +0900
>>Synopsis: IP-address resolving of a.out-binaries fails with a.out-e=
>>Description:
>IP-Address resolving of a.out-binaries fails with the
>a.out-emulation of NetBSD 1.4Z. I tested it with the a.out-versions of dn=
>etc,
>ircII and socket, but I believe all a.out-binaries are affected.
could you please provide the following information:
1. complete packet trace for name resolution.
not just tcpdump output to console, but also binary file saved with
# tcpdump -s 2000 -w foo -n
2. smaller sample code to repeat the problem. /usr/pkg/bin/socket
looks too big.
3. local settings like /etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts
and others.
itojun
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
To: Driss@hadii512.hadiko.uni-karlsruhe.de
Cc: gnats-bugs@netbsd.org
Subject: Re: port-i386/10304
Date: Sun, 09 Jul 2000 20:40:23 +0900
what is the status of this? are you still having the symptom?
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=10304
itojun
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 03 May 2008 04:44:51 +0000
State-Changed-Why:
Feedback was requested... in 2000.
Are you still seeing this problem? Is anyone else?
(Does anyone even have old a.out bins hanging around any more?)
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 26 May 2008 16:27:38 +0000
State-Changed-Why:
feedback mail bounced - we ought to try to figure out if anyone can replicate
this before closing it though.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 23 Oct 2008 05:40:37 +0000
State-Changed-Why:
simonb tested this on August 5 and couldn't reproduce the problem.
(Delay in closing is because gnats was down at the time.)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.