Your message dated Thu, 17 Sep 2009 22:18:12 +0000
with message-id <[email protected]>
and subject line Bug#491500: fixed in commons-daemon 1.0.2~svn20061127-10
has caused the Debian Bug report #491500,
regarding tomcat5.5: 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.)


-- 
491500: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491500
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tomcat5.5
Version: 5.5.26-3
Severity: normal

Hi,

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

irma:~# lsof -a -c jsvc +D /dev/pts
COMMAND   PID USER   FD   TYPE DEVICE SIZE NODE NAME
jsvc    19251 root    1u   CHR  136,1         3 /dev/pts/1
jsvc    19251 root    2u   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 2>&1" to the $DAEMON invocation in 
/etc/init.d/tomcat5.5 would probaby solve the problem, but it might 
have some unwanted side effects. It would probably be better to fix 
jsvc to disconnect from the terminal when daemonizing, but I have not 
looked at the code.


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 tomcat5.5 depends on:
ii  adduser              3.108               add and remove users and groups
ii  java-gcj-compat [jav 1.0.78-2            Java runtime environment using GIJ
ii  java-gcj-compat-dev  1.0.78-2            Java runtime environment with GCJ
ii  jsvc                 1.0.2~svn20061127-9 wrapper to launch Java application
ii  libecj-java          3.3.0+0728-9        Eclipse Java compiler (library)
ii  libtomcat5.5-java    5.5.26-3            Java Servlet engine -- core librar

tomcat5.5 recommends no packages.

Versions of packages tomcat5.5 suggests:
ii  gij-4.3 [java-virtual-machine 4.3.1-6    The GNU Java bytecode interpreter
ii  java-gcj-compat [java-virtual 1.0.78-2   Java runtime environment using GIJ
ii  java-gcj-compat-headless [jav 1.0.78-2   Java runtime environment using GIJ
pn  libapache2-mod-jk             <none>     (no description available)
pn  tomcat5.5-admin               <none>     (no description available)
ii  tomcat5.5-webapps             5.5.26-3   Java Servlet engine -- documentati

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: commons-daemon
Source-Version: 1.0.2~svn20061127-10

We believe that the bug you reported is fixed in the latest version of
commons-daemon, which is due to be installed in the Debian FTP archive:

commons-daemon_1.0.2~svn20061127-10.diff.gz
  to pool/main/c/commons-daemon/commons-daemon_1.0.2~svn20061127-10.diff.gz
commons-daemon_1.0.2~svn20061127-10.dsc
  to pool/main/c/commons-daemon/commons-daemon_1.0.2~svn20061127-10.dsc
jsvc_1.0.2~svn20061127-10_amd64.deb
  to pool/main/c/commons-daemon/jsvc_1.0.2~svn20061127-10_amd64.deb
libcommons-daemon-java_1.0.2~svn20061127-10_all.deb
  to 
pool/main/c/commons-daemon/libcommons-daemon-java_1.0.2~svn20061127-10_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Koch <[email protected]> (supplier of updated commons-daemon package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 Sep 2009 22:54:55 +0200
Source: commons-daemon
Binary: libcommons-daemon-java jsvc
Architecture: source all amd64
Version: 1.0.2~svn20061127-10
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Michael Koch <[email protected]>
Description: 
 jsvc       - wrapper to launch Java applications as daemons
 libcommons-daemon-java - library to launch Java applications as daemons
Closes: 491500 498376 506548 507968
Changes: 
 commons-daemon (1.0.2~svn20061127-10) unstable; urgency=low
 .
   * Build-Depends on libcap2-dev (Closes: #506548).
   * Added kfreebsd-* support to src/native/unix/support/apsupport.m4
     (Closes: #498376).
   * Point stdout and stderr to /dev/null for the daemon process
     (Closes: #491500, #507968).
   * Build-Depends on debhelper >= 7.
   * Replace dh_clean -k with dh_prep.
   * Moved package to section 'java'.
   * Rewrote debian/copyright to refer to
     /usr/share/common-licenses/Apache-2.0.
   * Updated to Standards-Version 3.8.3.
Checksums-Sha1: 
 f8b75d52f6699c86836b29ce1e6d806d59b07799 1539 
commons-daemon_1.0.2~svn20061127-10.dsc
 8e8d3d6d384a69f038969436d22cb7bf2d08f1d9 32439 
commons-daemon_1.0.2~svn20061127-10.diff.gz
 6aa0bfaffd3736160e07f4cd9509b92ab74b42b6 34652 
libcommons-daemon-java_1.0.2~svn20061127-10_all.deb
 d4bf116bb2fa38c17fcef3876f67d86ca3ce4764 21820 
jsvc_1.0.2~svn20061127-10_amd64.deb
Checksums-Sha256: 
 54f884f8f3057379056a6b750f905739343e3ebd7226e0c22d21479eb65c275d 1539 
commons-daemon_1.0.2~svn20061127-10.dsc
 4d7548749bcdb1b29166c2cc325e24ec7969ec51648e2c972c0da2fa833d4839 32439 
commons-daemon_1.0.2~svn20061127-10.diff.gz
 3ddddf95c3c5e0203461f52cfc8e2e623ce816797dc5e59ab2163172721e578f 34652 
libcommons-daemon-java_1.0.2~svn20061127-10_all.deb
 9f4da79d2cc1efc559d468b06e37a3d5f3564a8baaeefb8f3001e50dd37ca03d 21820 
jsvc_1.0.2~svn20061127-10_amd64.deb
Files: 
 22a537fae02cfe6fea349920240fda53 1539 java optional 
commons-daemon_1.0.2~svn20061127-10.dsc
 6ef2b685ec5883ac1bd04cd9e83af0b3 32439 java optional 
commons-daemon_1.0.2~svn20061127-10.diff.gz
 ba062ae52d54f91e203215dbf46e4e7d 34652 java optional 
libcommons-daemon-java_1.0.2~svn20061127-10_all.deb
 f63cf17d855c0b9f770d5da9bac83512 21820 utils optional 
jsvc_1.0.2~svn20061127-10_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkqyplcACgkQWSOgCCdjSDsQewCfbPuSW8PCdJ9pvMtpYGuPko32
+g4AoJ0pGh1XiTkVtXMPZ56dZhIg6ozR
=3mMn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to