From owner-freebsd-current@FreeBSD.ORG Thu Jan 14 14:01:34 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43BF9106566B; Thu, 14 Jan 2010 14:01:34 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from asuka.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 540D88FC1D; Thu, 14 Jan 2010 14:01:32 +0000 (UTC) Received: from yuga.mahoroba.org (ume@yuga.mahoroba.org [IPv6:2001:2f0:104:8010:21b:d3ff:fe38:5381]) (user=ume mech=CRAM-MD5 bits=0) by asuka.mahoroba.org (8.14.3/8.14.3) with ESMTP/inet6 id o0EE11gf016991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jan 2010 23:01:12 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 14 Jan 2010 23:01:01 +0900 Message-ID: From: Hajimu UMEMOTO To: Ed Schouten In-Reply-To: <20100113194254.GR64905@hoeg.nl> References: <20100113194254.GR64905@hoeg.nl> User-Agent: xcite1.58> Wanderlust/2.15.7 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.7 Emacs/23.1 (i386-portbld-freebsd8.0) MULE/6.0 (HANACHIRUSATO) X-Operating-System: FreeBSD 8.0-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (asuka.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Thu, 14 Jan 2010 23:01:12 +0900 (JST) X-Virus-Scanned: clamav-milter 0.95.3 at asuka.mahoroba.org X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on asuka.mahoroba.org Cc: ports@FreeBSD.org, current@FreeBSD.org Subject: Re: HEADS UP: gone. All welcome . X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 14:01:34 -0000 Hi, >>>>> On Wed, 13 Jan 2010 20:42:54 +0100 >>>>> Ed Schouten said: ed> I just made various commits to FreeBSD HEAD to remove our old user ed> accounting database interface (see utmp(5)) and replace it by the POSIX ed> standardized utmpx interface (see getutxent(3)). This means we just got ed> rid of some annoyances that are as old as the FreeBSD project itself: Thank you for a great job! ed> - Hostnames were originally restricted to 16 bytes, which is way too ed> short for your average hostname generated by your ISP, but also for ed> IPv6 addresses, which are at most 32 + 7 = 39 characters. At last, we can know the host where login from using IPv6. Unfortunately, w(1) shows no entry at 2nd login. It seems logout breaks utx.lastlogin and utx.active. Any idea? ume@ameno:~% ssh yoshino.mahoroba.org Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 9.0-CURRENT (YOSHINO) #0: Thu Jan 14 16:03:58 JST 2010 Welcome to FreeBSD! 10:48PM up 27 mins, 1 user, load averages: 0.07, 0.28, 0.39 ume@yoshino:~% w 10:48PM up 27 mins, 1 user, load averages: 0.07, 0.28, 0.39 USER TTY FROM LOGIN@ IDLE WHAT ume pts/0 ameno.mahoroba.org 10:48PM - w ume@yoshino:~% ll /var/run/utx.active /var/log/utx.l* -rw-r--r-- 1 root wheel 197 Jan 14 22:48 /var/log/utx.lastlogin -rw-r--r-- 1 root wheel 89 Jan 14 22:48 /var/log/utx.log -rw-r--r-- 1 root wheel 197 Jan 14 22:48 /var/run/utx.active ume@yoshino:~% logout Connection to yoshino.mahoroba.org closed. ume@ameno:~% ssh yoshino.mahoroba.org Last login: Thu Jan 14 22:48:56 2010 from ameno.mahoroba.org Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 9.0-CURRENT (YOSHINO) #0: Thu Jan 14 16:03:58 JST 2010 Welcome to FreeBSD! 10:49PM up 27 mins, 0 users, load averages: 0.05, 0.26, 0.38 ume@yoshino:~% w 10:49PM up 27 mins, 0 users, load averages: 0.05, 0.26, 0.38 USER TTY FROM LOGIN@ IDLE WHAT ume@yoshino:~% ll /var/run/utx.active /var/log/utx.l* -rw-r--r-- 1 root wheel 4294967493 Jan 14 22:49 /var/log/utx.lastlogin -rw-r--r-- 1 root wheel 201 Jan 14 22:49 /var/log/utx.log -rw-r--r-- 1 root wheel 4294967493 Jan 14 22:49 /var/run/utx.active Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/