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

#1042836#5
Date:
2023-08-01 15:22:13 UTC
From:
To:
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

#1042836#8
Date:
2023-08-03 03:26:32 UTC
From:
To:
Hello,

Bug #1042836 in tomcat9 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/tomcat9/-/commit/e4607f8fb11ade15fa172fd85d8d78a66c5b8b86
------------------------------------------------------------------------
homedir is /var/lib/tomcat9 in tomcat9 package (Closes: #1042836)

tomcat10 may differ but tomcat9 not
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1042836