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