por que não consigo executar o comando screen no openshift?

1

Eu estou usando o redhat openshift e vejo alguns problemas agora:

a) por que a tela padrão não suporta caminhos que contenham muitos caracteres

[xxname-xxname.rhcloud.com ~]\> which screen
/usr/bin/screen
[xxname-xxname.rhcloud.com ~]\> screen -S l
LoginName too long - sorry.

[xxname-xxname.rhcloud.com ~]\> screen -S l
LoginName too long - sorry.


[xxname-xxname.rhcloud.com ~]\> ls
app-root  git  jbosseap-6.0  xxname
[xxname-xxname.rhcloud.com ~]\> cd jbosseap-6.0/jbosseap-6.0/tools/bin/
[xxname-xxname.rhcloud.com bin]\> ls
screen  screen-4.1.0  screen-4.1.0.old  screen.old  tmux

b) porque eu não tenho privilégio para acessar / dev / pts / 0?

    [xxname-xxname.rhcloud.com bin]\> ./screen-4.1.0 -S l
    Cannot access '/dev/pts/0': Permission denied

mais detalhes:

[xxname.rhcloud.com ~]\> ls / -l
ls: cannot access /cgroup: Permission denied
ls: cannot access /lost+found: Permission denied
ls: cannot access /boot: Permission denied
ls: cannot access /net: Permission denied
ls: cannot access /misc: Permission denied
ls: cannot access /root: Permission denied
ls: cannot access /home: Permission denied
total 76
dr-xr-xr-x.   2 root                             root  4096 Sep  6 16:02 bin
d??????????   ? ?                                ?        ?            ? boot
d??????????   ? ?                                ?        ?            ? cgroup
drwxr-xr-x.  17 root                             root  3540 Sep  6 13:47 dev
drwxr-xr-x. 103 root                             root 12288 Sep  7 00:47 etc
d??????????   ? ?                                ?        ?            ? home
dr-xr-xr-x.  12 root                             root  4096 Sep  6 13:23 lib
dr-xr-xr-x.   9 root                             root 12288 Sep  6 16:02 lib64
d??????????   ? ?                                ?        ?            ? lost+found
drwxr-xr-x.   2 root                             root  4096 Jun 28  2011 media
d??????????   ? ?                                ?        ?            ? misc
drwxr-xr-x.   2 root                             root  4096 Jun 28  2011 mnt
d??????????   ? ?                                ?        ?            ? net
drwxr-xr-x.   5 root                             root  4096 Sep  6 11:55 opt
dr-xr-xr-x. 193 root                             root     0 Sep  6 13:46 proc
d??????????   ? ?                                ?        ?            ? root
drwxrwxrwt.   2 e13f3da3651c44758b254e5bc7bbdddb root  4096 Sep  6 17:13 sandbox
dr-xr-xr-x.   2 root                             root 12288 Sep  6 16:02 sbin
drwxr-xr-x.   7 root                             root     0 Sep  6 13:46 selinux
drwxr-xr-x.   2 root                             root  4096 Jun 28  2011 srv
drwxr-xr-x.  13 root                             root     0 Sep  6 13:46 sys
drwxrwxrwt.   3 e13f3da3651c44758b254e5bc7bbdddb root  4096 Sep  7 00:51 tmp
drwxr-xr-x.  14 root                             root  4096 Sep  6 11:51 usr
drwxr-xr-x.  22 root                             root  4096 Sep  6 11:43 var
[xxname.rhcloud.com ~]\> ls /dev/pts -l
ls: cannot access /dev/pts: Permission denied
    
por giantforest 07.09.2012 / 06:39

1 resposta

1

Um rápido google revela uma limitação antiga com tela, e também que os nomes de login openshift são bem longos.

Experimente o tmux em vez de uma alternativa. Deve estar disponível nos repositórios da Red Hat.

    
por 07.09.2012 / 09:43