Debian bug report logs - #827
who reports wrong hostname (was: resolver problems FIXED!)

Package: libc or shellutils; Reported by: chris@cosy.sbg.ac.at (Christian Linhart); 191 days old.

Message received at debian-bugs:


From cae.wisc.edu!streeter Sun Apr 23 12:44:08 1995
Return-Path: <streeter@cae.wisc.edu>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0s37Ze-0005KHC; Sun, 23 Apr 95 12:44 PDT
Received: from serv0.cae.wisc.edu by pixar.com with SMTP id AA03622
  (5.65c/IDA-1.4.4 for <debian-bugs@Pixar.com>); Sun, 23 Apr 1995 12:44:03 -0700
Received: from hp-94.cae.wisc.edu (streeter@hp-94.cae.wisc.edu [144.92.12.175]) by serv0.cae.wisc.edu (8.6.10 CAE/8.6.10) with ESMTP id OAA28705; Sun, 23 Apr 1995 14:43:55 -0500
From: Carl V Streeter <streeter@cae.wisc.edu>
Received: (streeter@localhost) by hp-94.cae.wisc.edu (8.6.10 CAE/8.6.9) id OAA27870; Sun, 23 Apr 1995 14:43:51 -0500
Message-Id: <199504231943.OAA27870@hp-94.cae.wisc.edu>
Subject: Re: Bug#827: who reports wrong hostname (was: resolver problems FIXED!)
To: chris@cosy.sbg.ac.at, debian-bugs@Pixar.com
Date: Sun, 23 Apr 1995 14:43:51 CDT
Cc: streeter@cae.wisc.edu
In-Reply-To: <m0s35Yv-0000VGC@baer.cosy.sbg.ac.at>; from "Christian Linhart" at Apr 23, 95 7:35 pm
Reply-To: streeter@cae.wisc.edu
X-Wisdom: Beer and pizza *do* contain all 4 food groups.
X-Thought: Better dead than mellow
X-Mailer: Elm [revision: 109.14]

> 
> 
> Package: libc or shellutils
> Version: 4.6.27-carl or 1.12-3
> 
> Carl Streeter <streeter@cae.wisc.edu> wrote:
> > Well, I *think* that the resolver problems in the recent libc's
> > have been ironed out.  The fix that went into 4.7 didn't quite do all
> > of it.  I made a patched version of libc-4.6.27 that should fix everything
> > up.  I've been running it for a while now, and it seems to work.
> > I'd appreciate if others could try it as well.
> 
> who reports wrong hostnames.
> 
> Here is what I did:
> I logged in from frosch.cosy.sbg.ac.at to dackel.cosy.sbg.ac.at
> and issued "who" (I was logged in from baer.cosy.sbg.ac.at, too).
> dackel and baer are Debian 0.93 systems, frosch is a sun sparc
> running SunOS.
> 
> who displayed:
> root@dackel:/tmp> who
> chris    ttyp0    Apr 23 19:09 (baer.cosy.sbg.ac)
> chris    ttyp1    Apr 23 19:18 (dackel.cosy.sbg.)
> 				^^^^^^ should be frosch

What are you using to reolve addresses?  Named, or hosts?
does an nslookup on 141.201.2.16 give you frosch's name?

This would probably not be a bug in who, as who just reads the utmp file,
and I would suspect either a config problem, or a problem with whatever's
writing the utmp file.  in.rlogind, or in.telnetd.

If there's nothing wrong in the hosts file on dackal, and nslookup is 
right, let me know, and I'll find something else to test it with.


--
Carl Streeter             |  "Nothing is more frightening than 
streeter@cae.wisc.edu     |    ignorance in action"   --Goethe 
Just another Perl hacker  |  ...Have you seen my saltshaker?
Puck 'em Bucky!           |  http://www.engr.wisc.edu/~streeter/

Acknowledgement sent to streeter@cae.wisc.edu:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#827; Package libc or shellutils. Full text available.

Message received at debian-bugs:


From cosy.sbg.ac.at!chris Sun Apr 23 10:37:00 1995
Return-Path: <chris@cosy.sbg.ac.at>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0s35ac-0004xCC; Sun, 23 Apr 95 10:36 PDT
Received: from zebra.cosy.sbg.ac.at by pixar.com with SMTP id AA01879
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Sun, 23 Apr 1995 10:36:52 -0700
Received: from baer.cosy.sbg.ac.at (baer.cosy.sbg.ac.at [141.201.2.205]) by zebra.cosy.sbg.ac.at (8.6.11/8.6.11) with SMTP id TAA14291; Sun, 23 Apr 1995 19:30:46 +0200
Received: by baer.cosy.sbg.ac.at (Smail3.1.29.1 #27)
	id m0s35Yv-0000VGC; Sun, 23 Apr 95 19:35 MET DST
Message-Id: <m0s35Yv-0000VGC@baer.cosy.sbg.ac.at>
From: chris@cosy.sbg.ac.at (Christian Linhart)
Subject: who reports wrong hostname (was: resolver problems FIXED!)
To: streeter@cae.wisc.edu
Date: Sun, 23 Apr 1995 19:35:12 +0200 (MET DST)
Cc: debian-bugs@pixar.com
In-Reply-To: <199504220420.XAA29148@milk.engr.wisc.edu> from "Carl V Streeter" at Apr 21, 95 11:20:38 pm
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 1103      


Package: libc or shellutils
Version: 4.6.27-carl or 1.12-3

Carl Streeter <streeter@cae.wisc.edu> wrote:
> Well, I *think* that the resolver problems in the recent libc's
> have been ironed out.  The fix that went into 4.7 didn't quite do all 
> of it.  I made a patched version of libc-4.6.27 that should fix everything
> up.  I've been running it for a while now, and it seems to work.
> I'd appreciate if others could try it as well.

I upgraded to libc-4.6.27-carl but a probably resolver-related problem
didn't go away:

who reports wrong hostnames.

Here is what I did:
I logged in from frosch.cosy.sbg.ac.at to dackel.cosy.sbg.ac.at
and issued "who" (I was logged in from baer.cosy.sbg.ac.at, too).
dackel and baer are Debian 0.93 systems, frosch is a sun sparc
running SunOS.

who displayed:
root@dackel:/tmp> who
chris    ttyp0    Apr 23 19:09 (baer.cosy.sbg.ac)
chris    ttyp1    Apr 23 19:18 (dackel.cosy.sbg.)
				^^^^^^ should be frosch

Here are the IP-Adresses of these hosts:
141.201.2.16    frosch
141.201.2.58    dackel
141.201.2.205   baer   (temporarily connected via SLIP)

-Chris

Acknowledgement sent to chris@cosy.sbg.ac.at (Christian Linhart):
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#827; Package libc or shellutils. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov