Upgrading screen to r5 makes reattaching sessions from r4 impossible. Reproducible: Always Steps to Reproduce: 1. Upgrade to =app-misc/screen-4.0.3-r5 from =app-misc/screen-4.0.3-r4 2. Try to reattach to running screen session with screen -r Actual Results: screen -r output: There is no screen to be resumed. screen -list output: No Sockets found in /home/user/.screen. Expected Results: Reattach to running screen session. Processes continue to run in the old screen session but remain inaccessible until downgrading to =app-misc/screen-4.0.3-r4. Please mark this as blocking #423775. r4 did not store screen sockets in $HOMEDIR/.screen/, r5 does now?
from /usr/portage/app-misc/screen/ChangeLog *screen-4.0.3-r5 (24 May 2012) 24 May 2012; Jeremy Olexa <darkside@gentoo.org> +screen-4.0.3-r5.ebuild: Revision bump to disable socket dir (and use ~/.screen/ instead) for cases where /var/run is tmpfs, etc. This seems more portable and has been the best solution proposed on bug 333821 Workaround mkdir ~/.screen ln -s /var/run/screen/S-$(whoami)/* ~/.screen/
USE=multiuser emerge -av1 app-misc/screen but this __is__ annoying. An elog might have been appropriate.
Yep, elog would've been nice ...
Hi! Sorry for my English. In 4.0.3-r5 regardless of USE-flag "multiuser": is no keepdir for /var/run/screen /var/run/screen does not have the correct access rights, that were established in pkg_postinst section 4.0.3-r4.ebuild Error: Directory '/var/run/screen' must have mode 755. The new defaults (--disable-socket-dir) are inconvenient: you can not do sudo bash screen Error: You are not the owner of /home/username/.screen
There is no good solution, sorry for the trouble(s) - you will have to adapt. *** This bug has been marked as a duplicate of bug 333821 ***