Package: ajaxterm
Version: 0.10-4
Severity: grave
Justification: renders package unusable


The ajaxterm user does not have permissions to open the tty device. As a
result pty.py throws "OSError: out of pty devices" (see Traceback after this 
text). 

'mount | grep pts' returns (gid 5 being tty) :

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

When ajaxterm or the user it runs as is added to the tty group it runs ok.


evgeni



Traceback (most recent call last):
  File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "/usr/share/ajaxterm/qweb.py", line 1323, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/usr/share/ajaxterm/qweb.py", line 1297, in do_POST
    self.serve('GET')
  File "/usr/share/ajaxterm/qweb.py", line 1289, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "/usr/share/ajaxterm/ajaxterm.py", line 509, in __call__
    term=self.session[s]=self.multi.create(w,h)
  File "/usr/share/ajaxterm/ajaxterm.py", line 371, in __call__
    r=self.orig(*l)
  File "/usr/share/ajaxterm/ajaxterm.py", line 390, in create
    pid,fd=pty.fork()
  File "/usr/lib/python2.5/pty.py", line 107, in fork
    master_fd, slave_fd = openpty()
  File "/usr/lib/python2.5/pty.py", line 29, in openpty
    master_fd, slave_name = _open_terminal()
  File "/usr/lib/python2.5/pty.py", line 70, in _open_terminal
    raise os.error, 'out of pty devices'
OSError: out of pty devices



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.30-2-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ajaxterm depends on:
ii  adduser                       3.111      add and remove users and groups
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.4      automated rebuilding support for P

Versions of packages ajaxterm recommends:
ii  lighttpd [httpd]              1.4.24-1   A fast webserver with minimal memo
ii  openssh-server                1:5.1p1-8  secure shell server, an rshd repla
pn  python-psyco                  <none>     (no description available)
ii  webfs [httpd]                 1.21-5.2   lightweight http server for static

ajaxterm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to