Package: osirisd
Version: 4.2.0-2
Severity: normal

On restarting osirisd via the init script it often holds open my
pseudo-terminal instead of properly disassociating. This causes
annoying behavior in remote shell programs which don't close after
exiting the remote shell since there's still something connected to the
child pty.

This doesn't happen every time, but with enough frequency to be
annoying. It seems to happen on some servers more than others.

Here's an example:

vpn:~# lsof /dev/pts/0
COMMAND   PID     USER   FD   TYPE DEVICE SIZE NODE NAME
bash    28562 emallcut    0u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut    1u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut    2u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut  255u   CHR  136,0         2 /dev/pts/0
bash    28580     root    0u   CHR  136,0         2 /dev/pts/0
bash    28580     root    1u   CHR  136,0         2 /dev/pts/0
bash    28580     root    2u   CHR  136,0         2 /dev/pts/0
bash    28580     root  255u   CHR  136,0         2 /dev/pts/0
lsof    28589     root    0u   CHR  136,0         2 /dev/pts/0
lsof    28589     root    1u   CHR  136,0         2 /dev/pts/0
lsof    28589     root    2u   CHR  136,0         2 /dev/pts/0
vpn:~# /etc/init.d/osirisd restart
Restarting Osiris scanning agent: osirisd.
vpn:~# lsof /dev/pts/0
COMMAND   PID     USER   FD   TYPE DEVICE SIZE NODE NAME
bash    28562 emallcut    0u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut    1u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut    2u   CHR  136,0         2 /dev/pts/0
bash    28562 emallcut  255u   CHR  136,0         2 /dev/pts/0
bash    28580     root    0u   CHR  136,0         2 /dev/pts/0
bash    28580     root    1u   CHR  136,0         2 /dev/pts/0
bash    28580     root    2u   CHR  136,0         2 /dev/pts/0
bash    28580     root  255u   CHR  136,0         2 /dev/pts/0
osirisd 28594  osirisd    0u   CHR  136,0         2 /dev/pts/0
osirisd 28594  osirisd    1u   CHR  136,0         2 /dev/pts/0
osirisd 28594  osirisd    2u   CHR  136,0         2 /dev/pts/0
osirisd 28595  osirisd    0u   CHR  136,0         2 /dev/pts/0
osirisd 28595  osirisd    1u   CHR  136,0         2 /dev/pts/0
osirisd 28595  osirisd    2u   CHR  136,0         2 /dev/pts/0
lsof    28598     root    0u   CHR  136,0         2 /dev/pts/0
lsof    28598     root    1u   CHR  136,0         2 /dev/pts/0
lsof    28598     root    2u   CHR  136,0         2 /dev/pts/0



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

Versions of packages osirisd depends on:
ii  adduser                3.102             Add and remove users and groups
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch4     SSL shared libraries

osirisd recommends 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