Package: screen Version: 4.0.3-0.3 Severity: grave Justification: causes non-serious data loss
-- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages screen depends on: ii base-passwd 3.5.11 Debian base system master password ii debconf [debconf-2.0] 1.5.12 Debian configuration management sy ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libncursesw5 5.5-5 Shared libraries for terminal hand ii libpam0g 0.79-4 Pluggable Authentication Modules l ii passwd 1:4.0.18.1-7 change and administer password and screen recommends no packages. -- debconf information: screen/old_upgrade_prompt: false So, I tripped over this when I arrived at work, connected to my server through SSH and tried to get my screen up and met a "There is no screen to be attached." sign... Here's some information of things I tried, and various info that might be usefull. I've also tried and find other people with the same problem, I've found atleast two where one came into #screen on freenode, just like me and supplied this pastebin. http://pastebin.ca/raw/383517 What I think is the reason is the upgrade from 4.0.3-0.2 to 4.0.3-0.3 that I did yesterday. In my mind, what I suspect will fail it is start a screen (4.0.3-0.2) upgrade to screen 4.0.3-0.3 detach attach (fails) [EMAIL PROTECTED]:~$ dpkg --status screen Package: screen Status: install ok installed Priority: optional Section: misc Installed-Size: 896 Maintainer: Adam Lazur <[EMAIL PROTECTED]> Architecture: i386 Version: 4.0.3-0.3 Depends: libc6 (>= 2.3.6-6), libncursesw5 (>= 5.4-5), libpam0g (>= 0.76), base-passwd (>= 2.0.3.4), passwd (>= 1:4.0.3-10) Pre-Depends: debconf (>= 0.5) | debconf-2.0 Conflicts: suidmanager (<< 0.52) Conffiles: /etc/screenrc 0f03c578a71c3af3ed4d92a5557e7a5a /etc/init.d/screen-cleanup c0b20a5c34424b377ed33473d6422fb5 Description: a terminal multiplexor with VT100/ANSI terminal emulation screen is a terminal multiplexor that runs several separate "screens" on a single physical character-based terminal. Each virtual terminal emulates a DEC VT100 plus several ANSI X3.64 and ISO 2022 functions. Screen sessions can be detached and resumed later on a different terminal. . Screen also supports a whole slew of other features. Some of these are: configurable input and output translation, serial port support, configurable logging, multi-user support, and utf8 charset support. [EMAIL PROTECTED]:~$ dpkg -l screen Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=========================-=========================-================================================================== ii screen 4.0.3-0.3 a terminal multiplexor with VT100/ANSI terminal emulation [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ screen -rx -d There is no screen to be attached. [EMAIL PROTECTED]:~$ ps -ef | grep rydekull | grep SCREEN rydekull 3045 1 0 Jan09 ? 00:08:15 SCREEN rydekull 6360 6302 0 10:18 pts/3 00:00:00 grep SCREEN [EMAIL PROTECTED]:~$ ls -l /var/run/screen/S-rydekull/ total 0 prw------- 1 rydekull rydekull 0 2007-03-06 09:21 3045.pts-0.munin [EMAIL PROTECTED]:~$ screen -r 3045.pts-0.munin There is no screen to be resumed matching 3045.pts-0.munin. [EMAIL PROTECTED]:~$ screen -r 3045 There is no screen to be resumed matching 3045. [EMAIL PROTECTED]:~$ screen -d 3045.pts-0.munin There is no screen to be detached matching 3045.pts-0.munin. [EMAIL PROTECTED]:~$ screen -ls No Sockets found in /var/run/screen/S-rydekull. [EMAIL PROTECTED]:~$ ls -l /var/run/ | grep screen drwxrwxr-x 14 root utmp 4096 2006-08-27 16:29 screen [EMAIL PROTECTED]:~$ ps -ef | grep rydekull rydekull 3045 1 0 Jan09 ? 00:08:15 SCREEN rydekull 30964 3045 0 Feb13 pts/0 00:00:00 /bin/bash rydekull 9395 30964 1 Mar01 pts/0 01:22:46 centericq [EMAIL PROTECTED]:~$ kill -9 30964 [EMAIL PROTECTED]:~$ ps -ef | grep 30964 rydekull 7898 7615 0 10:48 pts/27 00:00:00 grep 30964 [EMAIL PROTECTED]:~$ screen -rx -d There is no screen to be attached. [EMAIL PROTECTED]:~$ Perhaps it's just me, but I think this should work quite alright? Anyone got a clue? found something funny aswell [EMAIL PROTECTED]:~$ strace -f -o strace-screen.txt screen -rx -d Directory '/var/run/screen' must have mode 777. [EMAIL PROTECTED]:~$ su - Password: [EMAIL PROTECTED]:~# chmod 777 /var/run/screen/ [EMAIL PROTECTED]:~# logout [EMAIL PROTECTED]:~$ strace -f -o strace-screen.txt screen -rx -d There is no screen to be attached. [EMAIL PROTECTED]:~$ screen -rx -d Directory '/var/run/screen' must have mode 775. [EMAIL PROTECTED]:~$ su - Password: [EMAIL PROTECTED]:~# chmod 775 /var/run/screen/ here is another interesting thing 7435 open("/var/run/screen/S-rydekull", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 7435 fstat64(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 7435 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 7435 getdents64(3, /* 4 entries */, 4096) = 136 7435 stat64("/var/run/screen/S-rydekull/3045.pts-0.munin", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 7435 getdents64(3, /* 0 entries */, 4096) = 0 7435 close(3) = 0 7435 geteuid32() = 1000 7435 getegid32() = 1000 7435 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0 7435 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f0d000 7435 write(1, "There is no screen to be attache"..., 36) = 36 7435 munmap(0xb7f0d000, 4096) = 0 7435 exit_group(1) = ? One can conclude that it actually finds the files, but for some reason it fails to bring them up and says there is no screen to be attached, what fun. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]