SRU for lucid (https://wiki.ubuntu.com/StableReleaseUpdates)

1. Impact :
If tomcat6 is runned under a user that has a running bash process, trying to 
start or restart the service will fail.

2. Fix in development version :
The fix is a oneliner in the initscript, add the missing -p option in 
start-stop-daemon to use the pidfile.
It was fixed in natty with package version 6.0.28-7ubuntu3

3. Patch :
See bzr branch : lp:~mjeanson/ubuntu/lucid/tomcat6/bug632554

TEST CASE:
* Install tomcat6
* In another shell run : sudo -u tomcat6 /bin/bash
* In the first shell, restart the tomcat6 service : sudo /etc/init.d/tomcat6 
restart

 * Stopping Tomcat servlet engine tomcat6                                       
                                                                                
                                                                     [ OK ] 
 * Starting Tomcat servlet engine tomcat6                                       
                                                                                
                                                                            
/bin/bash already running.

5. Regression potential
None that I can think of.

** Branch linked: lp:~mjeanson/ubuntu/lucid/tomcat6/bug632554

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

Title:
  tomcat fails to start with: /bin/bash already running.

-- 
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