From Alan.Amesbury@WellsFargo.COM  Wed Aug  6 16:49:40 2003
Return-Path: <Alan.Amesbury@WellsFargo.COM>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D08A837B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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])
	by gideons.wellsfargo.com (8.12.9/8.12.4) with ESMTP id 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 <alan.amesbury@WellsFargo.COM>
Reply-To: Alan Amesbury <alan.amesbury@WellsFargo.COM>
To: FreeBSD-gnats-submit@freebsd.org
Cc: amesbury@indefi.net
Subject: multiuser screen fails with "attach attempt with bad pid"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55326
>Category:       ports
>Synopsis:       multiuser screen fails with "attach attempt with bad pid"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 16:50:18 PDT 2003
>Closed-Date:    Tue Sep 09 17:49:05 PDT 2003
>Last-Modified:  Tue Sep 09 17:49:05 PDT 2003
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->cy 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Aug 8 16:02:21 PDT 2003 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55326 
State-Changed-From-To: open->closed 
State-Changed-By: cy 
State-Changed-When: Tue Sep 9 17:48:41 PDT 2003 
State-Changed-Why:  
Fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55326 
>Unformatted:
