Comment 5 for bug 557300

Revision history for this message
Peter Matulis (petermatulis) wrote :

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?