From owner-freebsd-bugs Wed Sep 25 11:20: 4 2002 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 227E437B401 for ; Wed, 25 Sep 2002 11:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A4A543E65 for ; Wed, 25 Sep 2002 11:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8PIK2Co080655 for ; Wed, 25 Sep 2002 11:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8PIK22b080654; Wed, 25 Sep 2002 11:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65C2E37B401 for ; Wed, 25 Sep 2002 11:15:00 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C17243E9C for ; Wed, 25 Sep 2002 11:15:00 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8PIEx7R072855 for ; Wed, 25 Sep 2002 11:14:59 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g8PIExke072854; Wed, 25 Sep 2002 11:14:59 -0700 (PDT) Message-Id: <200209251814.g8PIExke072854@www.freebsd.org> Date: Wed, 25 Sep 2002 11:14:59 -0700 (PDT) From: tig To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/43367: incorrect report from 'who' after 'shutdown now' from remote terminal Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43367 >Category: bin >Synopsis: incorrect report from 'who' after 'shutdown now' from remote terminal >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: Wed Sep 25 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: tig >Release: 4.7-RC >Organization: n/a >Environment: FreeBSD piglet.l--v--l.net 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 22 15:48:40 CEST 2002 root@piglet.l--v--l.net:/usr/obj/usr/src/sys/PIGLET i386 >Description: Using 'who' (or 'users' or 'w') command when in single user mode will display non-connected users who where connected at the time of a 'shutdown now'. These users are now no longer connected or logged in which is why I believe this is a bug. From the 'man who' page: The who utility displays information about currently logged in users. It appears that 'shutdown now' does not correctly update /var/run/utmp. If this IS the desired response from a 'shutdown now', followed by a 'who', then I apologise, but find it mis-leading. >How-To-Repeat: Login from a remote system either from the remote terminal or from a local terminal issue a 'shutdown now' Once in single user mode, issue a 'who', 'w' or 'users'. This will display the ghost users. >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message