ports/55326: multiuser screen fails with "attach attempt with bad pid"

Alan Amesbury alan.amesbury at WellsFargo.COM
Wed Aug 6 23:50:20 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list