Byobu-launcher attempts to connect to dead screen; should run screen -wipe first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Binary package hint: byobu
I configured byobu-launcher to run in .profile (using the configuration utility). At one point, this feature started working wrong. It would start a brand new non-byobu screen session. I looked into the problem, and my previous byobu session was crashed, leaving a stale socket. byobu-launcher failed to detect that this session was dead, and tried to reconnect to it using screen -xRR, which created a new session.
To fix this, perhaps byobu-launcher should run screen -wipe before attempting to detect a running session.
ProblemType: Bug
Architecture: amd64
Date: Sat Jan 16 18:54:05 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelMo
Package: byobu 2.38-0ubuntu3
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
ScreenRC:
SourcePackage: byobu
Uname: Linux 2.6.31-18-generic x86_64
In fact, if you *replace* the call to screen -ls with a call to screen -wipe, it seems to work fine, since screen -wipe also lists the open sockets.