This bug was fixed in the package tomcat6 - 6.0.24-2ubuntu1.5
---
tomcat6 (6.0.24-2ubuntu1.5) lucid-proposed; urgency=low
* debian/tomcat6.init: Add missing -p option in start-stop-daemon when
starting tomcat6 to avoid failing to start due to /bin/bash running
(LP: #632554)
** Tags added: verification-done
** Tags removed: verification-needed
--
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
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)
r...@lucid:~# ps aux | grep tomcat6
tomcat6 3850 0.0 0.1 11172 1968 pts/1
Thank you for testing. I was unable to test it this week. I had updated my test
machine to maverick and needed to set up a virtual machine to test.
It probably needs a test by the person who needed the AUTHBIND setting to make
sure it doesn't break that, but ...
I notice the change I made also
I just tried in the same VM, updating server.xml to listen on port 80 and
updating /etc/default/tomcat6 to have AUTHBIND=yes
tomcat6 then started on port 80 without any issue.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in
Accepted tomcat6 into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!
** Changed in: tomcat6 (Ubuntu Lucid)
** Branch linked: lp:ubuntu/lucid-proposed/tomcat6
--
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.
--
Uploaded to lucid-proposed currently waiting for approval.
--
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.
--
** Branch linked: lp:debian/sid/tomcat6
--
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
** Also affects: tomcat6 (Ubuntu Lucid)
Importance: Undecided
Status: New
** Changed in: tomcat6 (Ubuntu Lucid)
Status: New = Triaged
** Changed in: tomcat6 (Ubuntu Lucid)
Importance: Undecided = Medium
--
tomcat fails to start with: /bin/bash already running.
** Changed in: tomcat6 (Ubuntu)
Status: Triaged = In Progress
** Changed in: tomcat6 (Ubuntu)
Assignee: (unassigned) = Thierry Carrez (ttx)
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you
This bug was fixed in the package tomcat6 - 6.0.28-7ubuntu3
---
tomcat6 (6.0.28-7ubuntu3) natty; urgency=low
* debian/tomcat6.init: Add missing -p option in start-stop-daemon when
starting tomcat6 to avoid failing to start due to /bin/bash running
(LP: #632554)
-- Thierry
Here's my comment included as an attached patch. What does it take to
actually get this into a release?
** Patch added: Patch to add -p $CATALINA_PID to the initscript tomcat6 file
https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/632554/+attachment/1731835/+files/tomcat6.init.patch
I'll vote for gerry's patch.
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs mailing list
I'm struck by this bug because I have the tomcat user doing something
else related to tomcat, so it MIGHT actually be logged in.
It strikes me as a bad idea to let a startup script create a file in
/etc/init.d/. We should find a better way to clarify that it's actually a
tomcat instance
The problem is fixed if we add `-p $CATALINA_PID` to the start-stop-daemon
line in catalina_sh(). Isn't that something we should be able to rely on?
{{{
*** tomcat6~2010-10-11 13:21:52.0 -0500
--- tomcat6 2010-11-03 12:19:04.0 -0500
***
*** 152,154
On Wed, Nov 3, 2010 at 10:26 AM, gerry skerbitz
632...@bugs.launchpad.netwrote:
The problem is fixed if we add `-p $CATALINA_PID` to the
start-stop-daemon line in catalina_sh(). Isn't that something we should be
able to rely on?
{{{
*** tomcat6~2010-10-11 13:21:52.0 -0500
---
** Changed in: tomcat6 (Ubuntu)
Importance: Low = Medium
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
At the risk of me too, this bug affects me because I have to run
commands as the tomcat6 user to regenerate indexes (which I do with sudo
-u tomcat6 /bin/bash foo.sh) so it's not just people running as root who
are affected.
--
tomcat fails to start with: /bin/bash already running.
On Thu, Sep 9, 2010 at 5:48 AM, Thierry Carrez
thierry.car...@ubuntu.comwrote:
I agree that we should not force tomcat6 to run under a user that has no
bash running.
Note that the proposed patch breaks use of AUTHBIND. This should rather
be fixed by shipping once and for all the catalina.sh
** Patch added: This is a fix that does not alter the behavior in any way, but
fixes ths problem.
https://bugs.launchpad.net/bugs/632554/+attachment/1554204/+files/tomcat6-init.patch
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You
** Changed in: tomcat6 (Ubuntu)
Importance: Undecided = Low
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
** Tags added: patch
--
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
--
Ubuntu-server-bugs mailing list
Left debug info in patch...sorry. New patch attached.
** Patch added: Patch - without debug info and correct offsets this time.
https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/632554/+attachment/1555462/+files/tomcat6-init.patch
--
tomcat fails to start with: /bin/bash already
24 matches
Mail list logo