Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd
The implemented workaround for http://bugs.debian.org/644788 uses "pidof
SCREEN" to detect running screen servers as screen server processes
rename themselves in the process listing to "SCREEN".
But on kfreebsd this process renaming don't seem to work. This doesn't
seem to be a screen issue but a general kfreebsd issue as the following
works as expected on Linux, but not on kfreebsd:
$ perl -e '$0 = "foobar!"; <>'
Happened with kernel 8.2-1-686-smp which seems no more to be available.
Will test later if it still happens with current kernels and if so, file
a seperated bug report against some kfreebsd-image-* packages.
Planned workaround for the workaround is to also check for "pidof
screen". At least that showed a running screen server on kfreebsd.
Manual temporary workaround for the workaround is to downgrade to screen
from testing or -- if e.g. apt/aptitude/dpkg is still running and a
second apt/aptitude/dpkg is therefore not possible without killing
apt/aptitude/dpkg -- to extract the screen binary from the package in
testing and then use that one:
# dget screen=4.0.3-14
# dpkg-deb -x screen_4.0.3-14_kfreebsd-*.deb screen-4.0.3
# screen-4.0.3/usr/bin/screen -rd
Sorry for the inconvenience.
,''`. | Axel Beckert <email@example.com>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5