Bug#501386: ajaxterm: Service should refuse to start twice.

2008-10-07 Thread Julien Valroff
package ajaxterm
tags 501386 + pending
tags 496470 + pending
thanks

Hi Franklin,

Le mardi 07 octobre 2008 à 06:38 +0200, root a écrit :
 Package: ajaxterm
 Version: 0.10-2
 Severity: normal
 
 Starting ajaxterm service twice should not create two instances.
 - It should not create two instance.
 - It should fail since It can't bind to the port twice.
 
 As a side effect, invoking invoke-rc.d  ajaxterm stop only stops
 the last service instance.

Thanks for pointing out this issue.

I have fixed the initscript so that it checks if the PID file exists,
and avoids starting the service again if it does.

This will be part of the next upload, after Lenny is released.

Cheers,
Julien




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#501386: ajaxterm: Service should refuse to start twice.

2008-10-06 Thread root
Package: ajaxterm
Version: 0.10-2
Severity: normal

Starting ajaxterm service twice should not create two instances.
- It should not create two instance.
- It should fail since It can't bind to the port twice.

As a side effect, invoking invoke-rc.d  ajaxterm stop only stops
the last service instance.

Thanks,

Franklin

invoke-rc.d  ajaxterm start
Starting web based terminal: ajaxterm.
sid:~# ps xaf | grep ajaxterm.py
12220 pts/1S+ 0:00  \_ grep ajaxterm.py
12212 pts/1Sl 0:00 python /usr/share/ajaxterm/ajaxterm.py --daemon 
--port=8022 --serverport=22 --uid=ajaxterm
sid:~# invoke-rc.d  ajaxterm start
Starting web based terminal: ajaxterm.
sid:~# ps xaf | grep ajaxterm.py
12248 pts/1S+ 0:00  \_ grep ajaxterm.py
12212 pts/1Sl 0:00 python /usr/share/ajaxterm/ajaxterm.py --daemon 
--port=8022 --serverport=22 --uid=ajaxterm
12240 pts/1Sl 0:00 python /usr/share/ajaxterm/ajaxterm.py --daemon 
--port=8022 --serverport=22 --uid=ajaxterm
sid:~# invoke-rc.d  ajaxterm stop
Stopping web based terminal: ajaxterm.
sid:~# ps xaf | grep ajaxterm.py
12275 pts/1S+ 0:00  \_ grep ajaxterm.py
12212 pts/1Sl 0:00 python /usr/share/ajaxterm/ajaxterm.py --daemon 
--port=8022 --serverport=22 --uid=ajaxterm


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/1 CPU core)
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.110  add and remove users and groups
ii  python2.5.2-2An interactive high-level object-o
ii  python-support0.8.6  automated rebuilding support for P

Versions of packages ajaxterm recommends:
ii  lighttpd [httpd]  1.4.19-5   A fast webserver with minimal memo
ii  openssh-server1:5.1p1-3  secure shell server, an rshd repla

ajaxterm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]