Public bug reported:

Binary package hint: tomcat6

I run tomcat6 on Ubuntu 8.10, installed from the tomcat6 package.  I
need to run tomcat as a different user to 'tomcat6' so have configured
this via the TOMCAT6_USER variable in /etc/default/tomcat6.  I then
manually changed the ownership of tomcat's various directories for this
to work.  This has been fine for over a year and has survived updates to
the tomcat6 package.  However, this morning I upgraded to
6.0.18-0ubuntu3.3 and afterwards found that tomcat no longer ran.  After
investigation, I found that the upgrade had chowned and chgrped tomcat's
directories to the tomcat6 user/group.  This left tomcat unable to run
as it couldn't read or write key directories.

Looking at the tomcat6 package, this happens in the postinst script,
during the configure stage.  The same also happens in the current
tomcat6 package in Ubuntu 10.04.  I would suggest that these
chowns/chgrps either be removed, or that they are made aware of the user
that tomcat runs as.  Could this be done by passing options through
debconf?

** Affects: tomcat6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
tomcat6 package changes ownership of directories
https://bugs.launchpad.net/bugs/557300
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to