From owner-freebsd-bugs Fri Dec 14 18:20: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A68C37B419 for ; Fri, 14 Dec 2001 18:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBF2K2e08346; Fri, 14 Dec 2001 18:20:02 -0800 (PST) (envelope-from gnats) Date: Fri, 14 Dec 2001 18:20:02 -0800 (PST) Message-Id: <200112150220.fBF2K2e08346@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Rocco Lucia Subject: Re: bin/32828: w incorrectly handles stale utmp slots with jail Reply-To: Rocco Lucia 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 The following reply was made to PR bin/32828; it has been noted by GNATS. From: Rocco Lucia To: freebsd-gnats-submit@FreeBSD.org, rlucia@iscanet.com Cc: Subject: Re: bin/32828: w incorrectly handles stale utmp slots with jail Date: Sat, 15 Dec 2001 03:10:32 +0100 I was wrong about assumptions and I didn't doublecheck before posting the PR. shame on me :) anwyay here's the corrected thing: How-to-Repeat 1. log into the host machine and have your shell killed or disconnected (create a stale utmp record) 2. log into the jail and manage to get allocated to you the tty just freed but who appears in the stale utmp record 3. now issue the w command on the host system and you'll see the 'current process' for the stale utmp record being a process running in the jail. -- Rocco Lucia - rlucia@iscanet.com Iscanet Internet Services http://elisa.utopianet.net/~rlucia System and Network Admin C6E6 AC9A 1361 FB38 B47A 2792 9FC4 C52F 7A68 4468 Free unices for a free world. Support *BSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message