Your message dated Sun, 20 Nov 2011 23:25:19 +0100
with message-id <[email protected]>
and subject line Re: Bug#499951: sympa: keeps open file descriptors for the 
terminal
has caused the Debian Bug report #499951,
regarding sympa: keeps open file descriptors for the terminal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
499951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499951
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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. 

root@irma:/# 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



--- End Message ---
--- Begin Message ---
Hi,

On Sun, May 29, 2011 at 08:36:35PM +0200, Emmanuel Bouthenot wrote:
[...]

> I think that it is an old bug bug which has probably been fixed a long time 
> ago
> but I will be glad to get your opinion before closing it.
As I didn't receive any feedback, it's time to close this bug.

Feel free to reopen it if needed.

Regards,

M.

-- 
Emmanuel Bouthenot
  mail: kolter@{openics,debian}.org    gpg: 4096R/0x929D42C3
  xmpp: [email protected]          irc: kolter@{freenode,oftc}



--- End Message ---

Reply via email to