Bug#427947: tomcat4: init-script keeps STDOUT and STDERR open
Arne P. Boettger
apb at nmmn.com
Thu Jun 7 14:51:02 UTC 2007
Package: tomcat4
Version: 4.1.31-3
Severity: important
Tags: patch
The init-script keeps STDOUT and STDERR open, because only STDIN of
rotatelogs is altered.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (700, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8)
Versions of packages tomcat4 depends on:
ii adduser 3.102 Add and remove users and groups
ii apache-utils 1.3.33-6sarge3 utility programs for webservers (t
pn j2sdk1.4 | j2sdk1.3 | kaf <none> (no description available)
ii libcommons-beanutils-java 1.7.0-4 utility for manipulating JavaBeans
ii libcommons-collections-ja 2.1.1-6 A set of abstract data type interf
ii libcommons-digester-java 1.7-2 Rule based XML Java object mapping
ii libcommons-logging-java 1.0.4-5 commmon wrapper interface for seve
ii libtomcat4-java 4.1.31-3 Java Servlet engine -- core librar
ii sun-j2sdk1.5 [java-compil 1.5.0+update02 Java(TM) 2 SDK, Standard Edition,
tomcat4 recommends no packages.
-- no debconf information
-------------- next part --------------
--- tomcat4.dpkg-dist 2005-04-12 16:14:16.000000000 +0200
+++ tomcat4.fixed 2007-06-07 16:22:06.000000000 +0200
@@ -150,7 +150,7 @@
# -s is required because tomcat4's login shell is /bin/false
su -p -s /bin/sh $TOMCAT4_USER \
-c "$ROTATELOGS \"$CATALINA_BASE/logs/catalina_%F.log\" 86400" \
- < "$CATALINA_BASE/logs/catalina.out" &
+ < "$CATALINA_BASE/logs/catalina.out" >/dev/null 2>&1 &
su -p -s /bin/sh $TOMCAT4_USER \
-c "\"$DAEMON\" start $STARTUP_OPTS" \
>> "$CATALINA_BASE/logs/catalina.out" 2>&1
More information about the pkg-java-maintainers
mailing list