Date: Wed, 6 Aug 2003 18:49:37 -0500 (CDT) From: Alan Amesbury <alan.amesbury@WellsFargo.COM> To: FreeBSD-gnats-submit@FreeBSD.org Cc: amesbury@indefi.net Subject: ports/55326: multiuser screen fails with "attach attempt with bad pid" Message-ID: <20030806234937.B24305C51@optimator.wellsfargo.com> Resent-Message-ID: <200308062350.h76NoIFM077541@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806234937.B24305C51>