Hi Axel, On 06/07/13 17:36, Axel Beckert wrote: > Control: clone -1 -2 > Control: retitle -2 screen: Please add a package with debug symbols > Control: severity -2 wishlist > > Hi Matijs, > > Matijs van Zuijlen wrote: >> On one of my machines, a VPS, screen immediately terminates after startup: >> >> - I log in using ssh. >> - I type 'screen' and press enter at the shell prompt. >> - The screen is blanked, the message [screen is terminating] is printed, and >> the shell prompt appears. >> >> Running screen under gdb shows that screen receives a SIGHUP, > > Do you happen to know if the screen client or the screen server (or > both) receive the SIGHUP?
<aside> I did some more experimenting. After some back and forth, I purged the reinstalled screen. Now, when running screen under gdb, I get this result: (gdb) run Starting program: /usr/bin/screen Directory '/var/run/screen' must have mode 777. [Inferior 1 (process 19056) exited with code 01] These are the relevant permissions: [matijs@mist] ls -ld /var/run/screen drwxrwxr-x 2 root utmp 40 Jul 7 08:21 /var/run/screen [matijs@mist] ls -l /usr/bin/screen -rwxr-sr-x 1 root utmp 410688 Sep 16 2012 /usr/bin/screen From bug #471763, I understand these permissions should be fine. </aside> Anyway, if I then set the mode of /var/run/screen to 777 and run screen again, I get this: [screen is terminating] Program received signal SIGHUP, Hangup. 0xf57fe424 in __kernel_vsyscall () (gdb) I would think this means it's the client program that receives the SIGHUP. >> but I have not yet managed to get a useful backtrace, since debug >> symbols are missing. > > Noted. I'll see that I'll add a binary package with debug symbols to > the source package. > >> Perhaps also relevant is the fact that both tmux and mosh also do not work >> properly on this machine. > > Maybe not relevant, but at least helpful in tracking down the source. > A few questions are raised by this: > > * Which kind of VPS is this? I suspect something more lightwieght like > VServer, OpenVZ, Virtuozzo or maybe LXC. Not entirely sure. It is hosted by RimuHosting, and their information is not that detailed: http://rimuhosting.com/vps/aboutvps.jsp > * What are the permissions of /dev/tty? ("ls -l /dev/tty") [matijs@mist] ls -l /dev/tty crw-rw-rw- 1 root tty 5, 0 Jul 7 08:40 /dev/tty > * What groups does the user you're trying to do that belong to? [matijs@mist] groups matijs adm www-data >> -- System Information: >> Distributor ID: Ubuntu >> Description: Ubuntu 11.04 >> Release: 11.04 >> Codename: natty >> Architecture: i386 (i686) > > Did you compile the package yourself on that machine or did you use > the binary package from Wheezy? (Not sure if that makes a difference, > but in case, I know what I need to check in case the fact that it runs > on Ubuntu or Natty is relevant.) The system started out with Ubuntu 8.04, but was upgraded and finally switched to Debian Wheezy. The information above comes from an obsolete /etc/lsb-release file. I'm using the binary packages from Wheezy. > > Regards, Axel > Regards, -- Matijs
signature.asc
Description: OpenPGP digital signature

