Comment 3 for bug 557300

Revision history for this message
Max (mjs510) wrote : Re: tomcat6 package should respect dpkg-statoverride (support running as a different user)

Looking at the version of the tomcat6 package in 10.04, there are several other instances where the user is hard-coded to tomcat6, e.g. in the creation of the tomcat6 user itself, and the set-up of authbind. This therefore requires more than just respecting dpkg-statoverride. I think it would need the ability to configure a user that tomcat should run as using debconf-set-selections so this could be set before installing the package.

The default version of /etc/default/tomcat6 installed by the tomcat6 package contains this as its first line:

# Run Tomcat as this user ID. Not setting this or leaving it blank will use the
# default of tomcat6.
#TOMCAT6_USER=tomcat6

Given the current broken state of the tomcat6 package, this line is at best extremely misleading.