From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 6 16:50:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BBED37B401 for ; Wed, 6 Aug 2003 16:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13A5643FB1 for ; Wed, 6 Aug 2003 16:50:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h76NoIUp077543 for ; Wed, 6 Aug 2003 16:50:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h76NoIFM077541; Wed, 6 Aug 2003 16:50:18 -0700 (PDT) Resent-Date: Wed, 6 Aug 2003 16:50:18 -0700 (PDT) Resent-Message-Id: <200308062350.h76NoIFM077541@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alan Amesbury Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D08A837B401 for ; Wed, 6 Aug 2003 16:49:40 -0700 (PDT) Received: from gideons.wellsfargo.com (gideons.wellsfargo.com [171.72.5.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5029443F93 for ; Wed, 6 Aug 2003 16:49:40 -0700 (PDT) (envelope-from Alan.Amesbury@WellsFargo.COM) Received: from unixm7.wellsfargo.com (unixm7.wellsfargo.com [10.88.15.244]) h76Nnd8G000954; Wed, 6 Aug 2003 18:49:39 -0500 (CDT) Received: from optimator.wellsfargo.com (localhost [127.0.0.1]) by unixm7.wellsfargo.com (8.9.3p2/8.9.3) with ESMTP id SAA24594; Wed, 6 Aug 2003 18:49:38 -0500 (CDT) Received: by optimator.wellsfargo.com (Postfix, from userid 1169) id B24305C51; Wed, 6 Aug 2003 18:49:37 -0500 (CDT) Message-Id: <20030806234937.B24305C51@optimator.wellsfargo.com> Date: Wed, 6 Aug 2003 18:49:37 -0500 (CDT) From: Alan Amesbury To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: amesbury@indefi.net Subject: ports/55326: multiuser screen fails with "attach attempt with bad pid" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alan Amesbury List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 23:50:20 -0000 >Number: 55326 >Category: ports >Synopsis: multiuser screen fails with "attach attempt with bad pid" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 06 16:50:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alan Amesbury >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD optimator.wellsfargo.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Mon Jul 7 13:31:25 CDT 2003 root@optimator.wellsfargo.com:/usr/obj/usr/src/sys/SAI i386 >Description: Use of the multiuser capabilities of screen (misc/screen in ports) fails between multiple users. A single user can attach to sessions owned by that same user, but a different user is unable to attach. The second user's "screen -x ..." command hangs, and the first user's screen session indicates the error "Attach attempt with bad pid(###)" where ### is the PID of the process attempting to attach. I'm using the version built right out of the ports tree (v1.48 2003/05/04 20:23:34). >How-To-Repeat: Create a screen session with the ports default for /usr/local/etc/screenrc and the following in ~/.screenrc: startup_message off multiuser on addacl testuser Start a screen session. Log onto the box as "testuser" and do a "screen -x user" where "user" is the username of the user running screen. >Fix: No workaround known. Behavior is NOT found under FreeBSD 4.8-RELEASE. A search with Google suggests that this problem may have started to manifest itself only since FreeBSD 5.0. >Release-Note: >Audit-Trail: >Unformatted: