Activity log for bug #557300

Date Who What changed Old value New value Message
2010-04-07 13:21:10 Max bug added bug
2010-04-08 09:07:58 Thierry Carrez tomcat6 (Ubuntu): status New Invalid
2010-04-08 09:42:16 Max tomcat6 (Ubuntu): status Invalid New
2010-04-08 11:27:28 Thierry Carrez summary tomcat6 package changes ownership of directories tomcat6 package should respect dpkg-statoverride
2010-04-08 11:27:39 Thierry Carrez tomcat6 (Ubuntu): importance Undecided Wishlist
2010-04-08 11:27:39 Thierry Carrez tomcat6 (Ubuntu): status New Confirmed
2010-04-08 11:28:00 Thierry Carrez summary tomcat6 package should respect dpkg-statoverride tomcat6 package should respect dpkg-statoverride (support running as a different user)
2010-04-09 13:26:11 Thierry Carrez summary tomcat6 package should respect dpkg-statoverride (support running as a different user) tomcat6 package should fully support running as a different user
2010-04-23 13:54:57 Peter Matulis summary tomcat6 package should fully support running as a different user tomcat6 does not respect dpkg-statoverride settings
2010-04-23 15:11:52 Peter Matulis summary tomcat6 does not respect dpkg-statoverride settings tomcat6 package should fully support running as a different user
2010-05-18 16:07:36 Thierry Carrez tomcat6 (Ubuntu): status Confirmed Triaged
2010-05-18 16:07:36 Thierry Carrez tomcat6 (Ubuntu): assignee Thierry Carrez (ttx)
2010-05-18 17:59:37 Thierry Carrez bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581018
2010-05-18 17:59:37 Thierry Carrez bug task added tomcat6 (Debian)
2010-05-18 18:30:05 Bug Watch Updater tomcat6 (Debian): status Unknown New
2010-05-21 08:16:05 Thierry Carrez nominated for series Ubuntu Lucid
2010-05-21 08:16:05 Thierry Carrez bug task added tomcat6 (Ubuntu Lucid)
2010-05-21 08:16:32 Thierry Carrez tomcat6 (Ubuntu Lucid): importance Undecided Medium
2010-05-21 08:16:32 Thierry Carrez tomcat6 (Ubuntu Lucid): status New In Progress
2010-05-21 08:16:32 Thierry Carrez tomcat6 (Ubuntu Lucid): assignee Thierry Carrez (ttx)
2010-05-21 08:16:47 Thierry Carrez tomcat6 (Ubuntu): importance Wishlist Medium
2010-05-21 08:49:26 Launchpad Janitor branch linked lp:~ttx/tomcat6/lucid-sru
2010-05-21 10:16:45 Thierry Carrez description 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? 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? == SRU Report == Impact: If the user sets TOMCAT6_USER (in /etc/default/tomcat6) to something else than "tomcat6", the system instance will not run. If the user fixes the directory permissions to make it work, those modifications will be lost at the next tomcat6 update. Development branch fix: We are trying to keep sync with Debian, fix was proposed to debian-java SVN and pending release. Minimal patch: See attached in comment TEST CASE: $ sudo apt-get install tomcat6 $ sudo service tomcat6 stop Edit /etc/default/tomcat6 and set TOMCAT6_USER=foobar $ sudo dpkg-reconfigure tomcat6 Affected version: Tomcat fails to restart due to user 'fewbar' not found. If you manually create the user, restart still fails on permission denied over various directories. Fixed version: Tomcat restarts successfully and works ok. Regression potential: The only thing changing for normal users (those who had TOMCAT6_USER=TOMCAT6_GROUP="tomcat6") is that the group is now created separately from the user.
2010-05-21 10:17:27 Thierry Carrez attachment added Minimal SRU patch http://launchpadlibrarian.net/48859377/user-patch
2010-05-21 12:09:05 Thierry Carrez tomcat6 (Ubuntu): status Triaged Fix Committed
2010-05-21 12:10:51 Thierry Carrez tomcat6 (Ubuntu Lucid): status In Progress Fix Committed
2010-05-24 20:59:22 Bug Watch Updater tomcat6 (Debian): status New Fix Released
2010-05-25 02:59:14 Launchpad Janitor branch linked lp:debian/sid/tomcat6
2010-06-01 10:36:10 Martin Pitt tags verification-needed
2010-06-04 08:40:39 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/tomcat6
2010-06-04 13:12:44 Launchpad Janitor tomcat6 (Ubuntu): status Fix Committed Fix Released
2010-06-04 14:15:30 Launchpad Janitor branch linked lp:ubuntu/tomcat6
2010-06-15 07:44:42 Launchpad Janitor tomcat6 (Ubuntu Lucid): status Fix Committed Fix Released
2010-06-15 08:12:21 Martin Pitt tags verification-needed verification-done