[Bug 557300] Re: tomcat6 package should fully support running as a different user

Peter Matulis peter.matulis at canonical.com
Fri Apr 9 19:09:43 BST 2010


I just tested this on a fresh Hardy install (tomcat55) and it also does
not work:

==========
# dpkg-statoverride --add ubuntu ubuntu 755 /etc/tomcat5.5

# dpkg-statoverride --list
ubuntu ubuntu 755 /etc/tomcat5.5

# aptitude install tomcat5.5

# ls -ld /etc/tomcat5.5/
drwxr-x--- 4 tomcat55 adm 4096 2010-04-09 17:23 /etc/tomcat5.5/
==========

Here is the same with a fresh Intrepid (tomcat6) install:

==========
# dpkg-statoverride --add ubuntu ubuntu 755 /etc/tomcat6

# dpkg-statoverride --list
ubuntu ubuntu 755 /etc/tomcat6

# apt-cache madison tomcat6
   tomcat6 | 6.0.18-0ubuntu3.3 | http://archive.ubuntu.com intrepid-updates/main Packages
   tomcat6 | 6.0.18-0ubuntu3.3 | http://security.ubuntu.com intrepid-security/main Packages
   tomcat6 | 6.0.18-0ubuntu3 | http://archive.ubuntu.com intrepid/main Packages

# aptitude install tomcat6=6.0.18-0ubuntu3

# ls -ld /etc/tomcat6/
drwxr-xr-x 3 ubuntu ubuntu 4096 2010-04-09 17:43 /etc/tomcat6/
==========

Then, still on Intrepid:

==========
# aptitude purge tomcat6

# dpkg-statoverride --list
ubuntu ubuntu 755 /etc/tomcat6

# aptitude install tomcat6=6.0.18-0ubuntu3.3

# ls -ld /etc/tomcat6/
drwxr-xr-x 4 ubuntu ubuntu 4096 2010-04-09 18:04 /etc/tomcat6/
==========

So I'm not sure how to interpret this.  Anyone?

-- 
tomcat6 package should fully support running as a different user
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.



More information about the Ubuntu-server-bugs mailing list