Bug 55326 - multiuser screen fails with "attach attempt with bad pid"
Summary: multiuser screen fails with "attach attempt with bad pid"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 00:50 UTC by Alan Amesbury
Modified: 2003-09-10 01:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Amesbury 2003-08-07 00:50:18 UTC
	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).

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.
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.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-08-09 00:02:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

over to maintainer
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2003-09-10 01:48:41 UTC
State Changed
From-To: open->closed

Fixed.