Package: sympa
Version: 5.3.4-5.2
Severity: normal
Usertags: bad-daemon

Hi,

When sympa is running as a daemon, it keeps open file descriptors for 
the terminal. 

[EMAIL PROTECTED]:/# lsof -a -c sympa.pl -c archived.pl -c task_manager.pl -c 
bounced.pl +D /dev/pts
COMMAND    PID  USER   FD   TYPE DEVICE SIZE NODE NAME
archived. 8906 sympa    0u   CHR  136,1         3 /dev/pts/1
task_mana 8923 sympa    0u   CHR  136,1         3 /dev/pts/1
bounced.p 8933 sympa    0u   CHR  136,1         3 /dev/pts/1

I think that there is no reason why a daemon should keep the terminal 
open.
It's not very annoying when the daemon is run on startup by init. But 
when it is run over a SSH session, then the SSH session will not close 
gracefully, which is quite annoying.

Simply adding "</dev/null" to the start-stop-daemon calls in /etc/init.d/sympa 
would probably solve the problem.


Cheers,

Nicolas


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

Kernel: Linux 2.6.23-irma (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages sympa depends on:
ii  adduser                      3.110       add and remove users and groups
ii  debconf [debconf-2.0]        1.5.23      Debian configuration management sy
ii  libarchive-zip-perl          1.18-1      Module for manipulation of ZIP arc
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  libcgi-fast-perl             5.10.0-14   CGI::Fast Perl module
ii  libcrypt-ciphersaber-perl    0.61-4      Perl module implementing CipherSab
ii  libdbd-mysql-perl            4.008-1     A Perl5 database interface to the 
ii  libdbi-perl                  1.607-1     Perl5 database interface by Tim Bu
ii  libintl-perl                 1.16-4      Uniforum message translations syst
ii  libio-stringy-perl           2.110-4     Perl modules for IO from scalars a
ii  libmailtools-perl            2.04-1      Manipulate email in perl programs
ii  libmd5-perl                  2.03-1      backwards-compatible wrapper for D
ii  libmime-charset-perl         1.006.2-2   Charset Informations for MIME
ii  libmime-encwords-perl        1.010.101-1 deal with RFC-1522 encoded words
ii  libmime-perl                 5.427-1     transitional dummy package
ii  libmime-tools-perl [libmime- 5.427-1     Perl5 modules for MIME-compliant m
ii  libmsgcat-perl               1.03-4+b1   Locale::Msgcat perl module
ii  libnet-ldap-perl             1:0.37-1    A Client interface to LDAP servers
ii  libtemplate-perl             2.20-1      template processing system written
ii  libxml-libxml-perl           1.66-1+b1   Perl module for using the GNOME li
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  mhonarc                      2.6.16-1    Mail to HTML converter
ii  perl [libmime-base64-perl]   5.10.0-14   Larry Wall's Practical Extraction 
ii  perl-suid                    5.10.0-14   Runs setuid Perl scripts
ii  ssmtp [mail-transport-agent] 2.62-1      extremely simple MTA to get mail o
ii  sysklogd [system-log-daemon] 1.5-5       System Logging Daemon

Versions of packages sympa recommends:
ii  doc-base                      0.8.16     utilities to manage online documen
ii  logrotate                     3.7.1-3    Log rotation utility

Versions of packages sympa suggests:
pn  apache2 | httpd-cgi           <none>     (no description available)
pn  libapache2-mod-fcgid          <none>     (no description available)
pn  libsoap-lite-perl             <none>     (no description available)
ii  mysql-server                  5.0.51a-15 MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-serve 5.0.51a-15 MySQL database server binaries
pn  openssl                       <none>     (no description available)

-- debconf information:
  sympa/key_password_again: (password omitted)
* sympa/db_passwd: (password omitted)
* sympa/db_passwd_again: (password omitted)
  sympa/key_password: (password omitted)
* sympa/db_adminpasswd: (password omitted)
* sympa/use_db: true
  sympa/db_removeonpurge: false
  sympa/use_soap: false
  wwsympa/webserver_type: Apache 2
* sympa/listmaster: [EMAIL PROTECTED]
  wwsympa/wwsympa_url:
  wwsympa/webserver_restart: true
  wwsympa/remove_spool: false
* sympa/hostname: irma.home
* sympa/db_options:
* sympa/db_user: sympa
  sympa/wwsympa_configured: false
* sympa/db_name: sympa
  wwsympa/fastcgi: false
* sympa/db_type: MySQL
* sympa/db_configured: true
* sympa/use_wwsympa: false
* sympa/db_hostname: localhost
  sympa/db_authtype: Ident-based
  sympa/language: en_US
  sympa/db_port:
  sympa/remove_spool: false
* sympa/smime_support: false



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

Reply via email to