Bug#610839: screen: "Cannot open your terminal '/dev/pts/2' - please check" You should fix that please really!

January 23rd, 2011 - 03:10 am ET by yellow | Report spam
Package: screen
Version: 4.0.3-14
Severity: important


Hi screen

Screen is very important for us; and it is too useful.

Please screen is typed from the console (tty or under X11), on many users and it gives that
"Cannot open your terminal '/dev/pts/2' - please check"

First:
"please check" please remove it
It is not our job to check and fix the code of screen, since users are not affiliated to sourceforge as developper of screen


second:
The bug, - yes it is a bug, is remaining, getting back sometimes, in some distro, and sometimes working.
Well under debian stable it was ok, but now the bug is there.

This bug is like the cancer of "Screen". Please fix it for once, and - well, so that there is not ever such issue, appearing each time that a new distro is release.
If it is too much work, please ask for help for developers, and I am sure that you will get help.

Thanks a lot being developing

May Tux be with You and Screen,
Kind regards
Y.


Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii dpkg 1.15.8.7 Debian package management system
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libncursesw5 5.7+20100313-4 shared libraries for terminal hand
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l

screen recommends no packages.

screen suggests no packages.




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Replies

#1 Axel Beckert
January 29th, 2011 - 06:50 pm ET | Report spam
severity 610839 wishlist
kthxbye

Hi,

yellow wrote:
Please screen is typed from the console (tty or under X11), on many
users and it gives that "Cannot open your terminal '/dev/pts/2' -
please check"

First:
"please check" please remove it
It is not our job to check and fix the code of screen,



First: That's not what it asks you to do. You are not asked to check
code. You are asked to check the terminal device /dev/pts/2, e.g. for
broken read or write permissions.

Second: You bascially reported this "bug" already as
http://bugs.debian.org/583644 with more information and less
insulting, so I just merged them.

This bug is like the cancer of "Screen".



No, this is bascially no bug. As you report in
http://bugs.debian.org/583644 this happend to you after using "sux"
(which is equivalent to "su", just preserving some X cookies).

But su and sux do not create new terminals. They just open a shell
under some other user in the _same_ terminal and that terminal still
belongs to the original user and the user you "sux"ed to has neither
read nor write permissions on the terminal device. But screen needs
access to this terminal device to work, so screen does not work after
su or sux unless some basic concpets of su or sux are changed:

:~# su - abe
?0 :pts/25 (-su) [~] > screen
Cannot open your terminal '/dev/pts/25' - please check.
?1 :pts/25 (-su) [~] > ls -lF /dev/pts/25
crw- 1 root tty 136, 25 Jan 30 00:34 /dev/pts/25
?0 :pts/25 (-su) [~] >

Please fix it for once, and - well, so that there is not ever such
issue, appearing each time that a new distro is release.



What you request is more or less a fundamental change in how su and
sux work. Changing how something works fundamently is surely not an
important bug, but at most a wishlist bug. Downgrading the bug
accordingly.

Regards, Axel
,''`. | Axel Beckert , 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



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics