Bug#303265: marked as done (GDM does not log the correct IP address in wtmp)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 14 Apr 2005 02:18:16 -0700


Your message dated Thu, 14 Apr 2005 11:03:24 +0200
with message-id <1113469404.12410.6.camel@zahadum.xs4all.nl>
and subject line Bug#303265: sysvinit: Last does not display IPv6 addresses correctly
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Apr 2005 17:27:44 +0000
>From jason@wormwood666.demon.co.uk Tue Apr 05 10:27:44 2005
Return-path: <jason@wormwood666.demon.co.uk>
Received: from anchor-post-34.mail.demon.net [194.217.242.92] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DIrq4-0000ob-00; Tue, 05 Apr 2005 10:27:44 -0700
Received: from wormwood666.demon.co.uk ([80.177.7.229] helo=belial.wormwood666.demon.co.uk)
	by anchor-post-34.mail.demon.net with esmtp (Exim 4.42)
	id 1DIrq3-0000Kz-Db
	for submit@bugs.debian.org; Tue, 05 Apr 2005 17:27:43 +0000
Received: from jason by belial.wormwood666.demon.co.uk with local (Exim 3.36 #1 (Debian))
	id 1DIsm0-0001Qk-00
	for <submit@bugs.debian.org>; Tue, 05 Apr 2005 19:27:36 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jason Cormie <ccojdc@abertay.ac.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sysvinit: Last does not display IPv6 addresses correctly
X-Mailer: reportbug 3.8
Date: Tue, 05 Apr 2005 19:27:36 +0100
Message-Id: <E1DIsm0-0001Qk-00@belial.wormwood666.demon.co.uk>
Sender: Jason Cormie <jason@wormwood666.demon.co.uk>
X-wormwood-MailScanner: Found to be clean
X-MailScanner-From: jason@wormwood666.demon.co.uk
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: sysvinit
Version: 2.86.ds1-1
Severity: minor


when I run last -i to dispaly ip addresses,
it can display IPv4 addresses, but messes up IPv6



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages sysvinit depends on:
ii  coreutils                   5.2.1-2      The GNU core utilities
ii  initscripts                 2.86.ds1-1   Standard scripts needed for bootin
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  sysv-rc                     2.86.ds1-1   Standard boot mechanism using syml

-- no debconf information

---------------------------------------
Received: (at 303265-done) by bugs.debian.org; 14 Apr 2005 09:03:57 +0000
>From miquels@cistron.nl Thu Apr 14 02:03:57 2005
Return-path: <miquels@cistron.nl>
Received: from smtp-vbr6.xs4all.nl [194.109.24.26] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DM0GS-0002mb-00; Thu, 14 Apr 2005 02:03:56 -0700
Received: from zahadum.xs4all.nl (zahadum.xs4all.nl [194.109.0.112])
	by smtp-vbr6.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3E93OEm029983;
	Thu, 14 Apr 2005 11:03:24 +0200 (CEST)
	(envelope-from miquels@cistron.nl)
Subject: Re: Bug#303265: sysvinit: Last does not display IPv6 addresses
	correctly
From: Miquel van Smoorenburg <miquels@cistron.nl>
To: Jason Cormie <ccojdc@abertay.ac.uk>
Cc: 303265@bugs.debian.org, 303265-done@bugs.debian.org
In-Reply-To: <42550F20.7050907@abertay.ac.uk>
References: <E1DIsm0-0001Qk-00@belial.wormwood666.demon.co.uk>
	 <1112737937l.11376l.5l@stargazer.cistron.net>
	 <42550F20.7050907@abertay.ac.uk>
Content-Type: text/plain
Date: Thu, 14 Apr 2005 11:03:24 +0200
Message-Id: <1113469404.12410.6.camel@zahadum.xs4all.nl>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by XS4ALL Virus Scanner
Delivered-To: 303265-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

On Thu, 2005-04-07 at 11:44 +0100, Jason Cormie wrote:
> Miquel van Smoorenburg wrote:
> > "last" handles IPv6 in utmp/wtmp correctly as far as I know, but
> > I also know that ssh did not in previous versions at least. Not sure
> > what current versions do.
> >
> > So I guess last just shows you what actually is logged in
> > /var/log/wtmp, and if it's junk, it's junk ...
> 
> I may have been jumping to conclusions.
> 
> I think the culprit is sessreg being called by gdm when someone logs in
> here is some output
> 
> last
> c511094  mc3273.uad.a mc3273.uad.ac.uk Thu Apr  7 09:18 - 09:19  (00:01)
> 
> last -i
> c511094  mc3273.uad.a 112.191.21.64    Thu Apr  7 09:18 - 09:19  (00:01)
> 	(the ip should be 193.60.161.86)
> 
> Have looked at wtmp and yes you are right the false ip is in there.

OK, closing this bug. Feel free to re-open it and reassign it to gdm or
sessreg.

Mike.