Bug#1060381: tomcat10: catalina.out is not recreated after deletion

Daniel von Obernitz daniel.vonobernitz at uni-greifswald.de
Wed Jan 10 11:42:34 GMT 2024


Package: tomcat10
Version: 10.1.6-1+deb12u1
Severity: normal
X-Debbugs-Cc: team at security.debian.org

Dear Maintainer,

when you stop tomcat10.service and delete the /var/log/tomcat10/catalina.out, the file will not be recreated after the next tomcat10.service start.


I tested the following scenarios:

Install tomcat10 package - stop tomcat10.service - delete catalina.out - restart tomcat10.service = catalina.out is NOT created anymore.

Purge tomcat10 package and all dependencies - reinstall tomcat10 package = catalina.out is present again.


When the rsyslog package is also installed, the catalina.out is created again if rsyslog.service and tomcat10.service are both restarted. But since we are not using rsyslog anymore I have not found a way to recreate the catalina.out yet.

Best regards
Daniel


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tomcat10 depends on:
ii  systemd [systemd-tmpfiles]  252.17-1~deb12u1
ii  sysvinit-utils [lsb-base]   3.06-4
ii  tomcat10-common             10.1.6-1+deb12u1
ii  ucf                         3.0043+nmu1

Versions of packages tomcat10 recommends:
ii  libtcnative-1  1.2.35-1

Versions of packages tomcat10 suggests:
pn  tomcat10-admin     <none>
pn  tomcat10-docs      <none>
pn  tomcat10-examples  <none>
pn  tomcat10-user      <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list