From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 27 11:40:15 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B15F16A420 for ; Thu, 27 Oct 2005 11:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3ADE43D53 for ; Thu, 27 Oct 2005 11:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9RBeEQc099314 for ; Thu, 27 Oct 2005 11:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9RBeEn2099313; Thu, 27 Oct 2005 11:40:14 GMT (envelope-from gnats) Resent-Date: Thu, 27 Oct 2005 11:40:14 GMT Resent-Message-Id: <200510271140.j9RBeEn2099313@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Walter Belgers Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 592B416A41F for ; Thu, 27 Oct 2005 11:37:53 +0000 (GMT) (envelope-from walter@giga.nl) Received: from giga.nl (84-107-155-163.dsl.quicknet.nl [84.107.155.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 059D743D4C for ; Thu, 27 Oct 2005 11:37:52 +0000 (GMT) (envelope-from walter@giga.nl) Received: by giga.nl (Postfix, from userid 100) id 71BE45C23; Thu, 27 Oct 2005 13:37:51 +0200 (CEST) Message-Id: <20051027113751.71BE45C23@giga.nl> Date: Thu, 27 Oct 2005 13:37:51 +0200 (CEST) From: Walter Belgers To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/88077: w -n problems with IPv6 addresses and localhost X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Walter Belgers List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 11:40:15 -0000 >Number: 88077 >Category: bin >Synopsis: w -n problems with IPv6 addresses and localhost >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 27 11:40:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Walter Belgers >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD giga.nl 5.4-STABLE FreeBSD 5.4-STABLE #5: Wed Oct 19 15:31:09 CEST 2005 walter@giga.nl:/usr/obj/usr/src/sys/GIGA i386 >Description: The command 'w -n' (show current users and do not translate IP numers into hostnames) does not show IPv6 IP addresses. For localhost, additional weirdness is involved. This goes for 5.4 but also 4.11 (in a different way). FreeBSD 4.11-STABLE Login from w shows w -n shows which is ---------------+---------------+---------------+--------- IPv4 address IPv4 hostname IPv4 address correct IPv6 address IPv6 hostname IPv6 hostname incorrect 127.0.0.1 localhost 127.0.0.1 correct ::1 localhost 127.0.0.1 incorrect FreeBSD 5.4-STABLE Login from w shows w -n shows which is ---------------+---------------+---------------+--------- IPv4 address IPv4 hostname IPv4 address correct IPv6 address IPv6 hostname IPv6 hostname incorrect 127.0.0.1 localhost localhost incorrect ::1 localhost localhost incorrect >How-To-Repeat: w -n >Fix: >Release-Note: >Audit-Trail: >Unformatted: