Bug#1138739: tomcat11: Inconsistencies/quirks of historical server packages

Reuben Roessler reuben.roessler at canonical.com
Wed Jun 3 05:34:06 BST 2026


Package: tomcat11
Version: 11.0.22-2
Severity: minor
Tags: upstream
X-Debbugs-Cc: reuben.roessler at canonical.com

Dear Maintainer,

Whilst restoring server packages in tomcat10 for the next release of Ubuntu, we came across some harmless inconsistencies
with some of the historical server package files. Coincidentally, these also affect tomcat11 and include:

- debian/sysuser/tomcat11.conf: Sets home directory to /var/lib/tomcat (and not /var/lib/tomcat11). This is inconsistent with
  CATALINA_BASE but functionally harmless since the user logs in nologin.
- debian/tomcat11.postrm.in: Has find var/lib/tomcat11/lib/classes (missing leading /) relative path. Again harmless, but with an easy fix.
- debian/tomcat11.dirs: Includes etc/logrotate.d, however since the logrotate config is installed via ucf from the template this results
  in an empty dir creation noise but is again harmless.
- debian/tomcat11.cron.daily: This file has overlap with the debian/logrotate.template and is more so worth noting for future refactorings.

So far I have tested that fixing the first three items is safe to do so, however was unsure whether removing debian/tomcat11.cron.daily would
result in a regression since it uses settings from /etc/default/tomcat11 values.

Happy to submit a merge request which resolves these.

Kind regards,

Reuben

-- System Information:
Debian Release: trixie/sid
  APT prefers noble-updates
  APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.0-35-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, 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



More information about the pkg-java-maintainers mailing list