Bug#1065440: tomcat10: /etc/cron.daily/tomcat10 breaks tomcat's own deletion of old access logs
Jorge Moraleda
jorge.moraleda at gmail.com
Mon Mar 4 19:12:56 GMT 2024
Package: tomcat10
Version: 10.1.6-1+deb12u1
Severity: normal
X-Debbugs-Cc: jorge.moraleda at gmail.com
Dear Maintainer,
The tomcat10 package installs file '/etc/cron.daily/tomcat10' that encrypts
"old" logs in the '/var/log/tomcat10' directory. The problem is that this cron
jobs breaks the new mechanism that tomcat10 uses for deleting its own old log
files. In particular adding the option 'maxDays="2" in section <Valve
className="org.apache.catalina.valves.AccessLogValve" directory="logs"
... in file /var/lib/tomcat10/conf/server.xml does not work.
I respectfully suggest that the new mechanisms that tomcat10 includes for
managing its own logs mean that we should remove "/etc/cron.daily/tomcat10"
from the package.
Thank you.
-- System Information:
Debian Release: 12.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (50, 'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-0.deb12.4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages tomcat10 depends on:
ii lsb-base 11.6
ii systemd [systemd-tmpfiles] 254.5-1~bpo12+3
ii sysvinit-utils [lsb-base] 3.08-3~bpo12+2
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>
-- Configuration Files:
/etc/tomcat10/policy.d/01system.policy [Errno 13] Permission denied: '/etc/tomcat10/policy.d/01system.policy'
/etc/tomcat10/policy.d/02debian.policy [Errno 13] Permission denied: '/etc/tomcat10/policy.d/02debian.policy'
/etc/tomcat10/policy.d/03catalina.policy [Errno 13] Permission denied: '/etc/tomcat10/policy.d/03catalina.policy'
/etc/tomcat10/policy.d/04webapps.policy [Errno 13] Permission denied: '/etc/tomcat10/policy.d/04webapps.policy'
/etc/tomcat10/policy.d/50local.policy [Errno 13] Permission denied: '/etc/tomcat10/policy.d/50local.policy'
-- no debconf information
More information about the pkg-java-maintainers
mailing list