Comment 17 for bug 632554

Revision history for this message
Stéphane Graber (stgraber) wrote :

I can confirm that the fix works as expected, here's the output of my test.
I started a bash shell as tomcat6 in a shell, then ran the following commands on an up to date lucid system (with -updates and -security)

root@lucid:~# ps aux | grep tomcat6
tomcat6 3850 0.0 0.1 11172 1968 pts/1 S+ 14:45 0:00 bash
root 3896 0.0 0.0 7624 900 pts/0 S+ 14:45 0:00 grep --color=auto tomcat6
root@lucid:~# /etc/init.d/tomcat6 start
 * Starting Tomcat servlet engine tomcat6 /bin/bash already running.
root@lucid:~# apt-get install tomcat6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libservlet2.5-java libtomcat6-java tomcat6-common
Suggested packages:
  tomcat6-docs tomcat6-admin tomcat6-examples tomcat6-user
The following packages will be upgraded:
  libservlet2.5-java libtomcat6-java tomcat6 tomcat6-common
4 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 0B/3,277kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 70588 files and directories currently installed.)
Preparing to replace libservlet2.5-java 6.0.24-2ubuntu1.4 (using .../libservlet2.5-java_6.0.24-2ubuntu1.5_all.deb) ...
Unpacking replacement libservlet2.5-java ...
Preparing to replace libtomcat6-java 6.0.24-2ubuntu1.4 (using .../libtomcat6-java_6.0.24-2ubuntu1.5_all.deb) ...
Unpacking replacement libtomcat6-java ...
Preparing to replace tomcat6-common 6.0.24-2ubuntu1.4 (using .../tomcat6-common_6.0.24-2ubuntu1.5_all.deb) ...
Unpacking replacement tomcat6-common ...
Preparing to replace tomcat6 6.0.24-2ubuntu1.4 (using .../tomcat6_6.0.24-2ubuntu1.5_all.deb) ...
 * Stopping Tomcat servlet engine tomcat6 [ OK ]
Unpacking replacement tomcat6 ...
Processing triggers for ureadahead ...
Setting up libservlet2.5-java (6.0.24-2ubuntu1.5) ...
Setting up libtomcat6-java (6.0.24-2ubuntu1.5) ...
Setting up tomcat6-common (6.0.24-2ubuntu1.5) ...
Setting up tomcat6 (6.0.24-2ubuntu1.5) ...
Installing new version of config file /etc/init.d/tomcat6 ...
 * Starting Tomcat servlet engine tomcat6 [ OK ]

root@lucid:~# ps aux | grep tomcat6
tomcat6 3850 0.0 0.1 11172 1968 pts/1 S+ 14:45 0:00 bash
tomcat6 4070 15.7 5.9 550744 61404 ? Sl 14:46 0:01 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128M -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
root 4095 0.0 0.0 7624 904 pts/0 S+ 14:46 0:00 grep --color=auto tomcat6