Bug#1042836: tomcat9: tomcat user has non-existent home directory /var/lib/tomcat

Matthias Geerdsen matthias at vorlons.info
Tue Aug 1 16:22:13 BST 2023


Source: tomcat9
Version: 9.0.70-2
Severity: normal

Hi,

in #926338 the home directory for the tomcat user has been set (from /) to
/var/lib/tomcat, however this directory is not created during install.
As the home directory is indeed needed in some cases as described in #926338,
it would be nice to have it automatically created. Having a non-existant home
directory, still leaves a non-working setup these cases after installation and
is least slightly confusing.

Best wishes
Matthias

P.S.:
There is also a bug report for Ubuntu mentioning the missing home directory as
well as the missing write permissions to that directory in the unt file:
https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/2000593


-- System Information:
Debian Release: 12.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, 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