screen's initscript "cleans" currently running sessions

Bug #367854 reported by Geoffrey Thomas on 2009-04-27
2
Affects Status Importance Assigned to Milestone
screen (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: screen

If you manage to start a screen session before the rcS.d initscripts run (e.g., because you do this at the "type password for emergency maintenance" prompt, e.g. because you set SULOGIN=yes in /etc/default/rcS), then /etc/rcS.d/S70screen-cleanup will delete the socket for that screen in /var/run/screen. However, the screen process will still be running... and as far as I can determine, it's impossible to re-attach to that screen.

screen -wipe has the appropriate logic to delete only screen sockets without corresponding running screen processes. Could we adapt the initscript to check running screen processes via /proc/.../fd, or loop over each user with screen -wipe, or something?

This is with screen 4.0.3-11 on Intrepid.

Serge Hallyn (serge-hallyn) wrote :

Please reply if this is still an issue on a supported release.

Changed in screen (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers