[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-18 Thread Launchpad Bug Tracker
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)

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-18 Thread Launchpad Bug Tracker
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)

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-12 Thread Martin Pitt
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-12 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/632554 Title: tomcat fails to start with: /bin/bash already running. --

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Stéphane Graber
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

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Gerry
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Stéphane Graber
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Stéphane Graber
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 Bugs, which is subscribed to Ubuntu.

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Stéphane Graber
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

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-11 Thread Gerry
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-10 Thread Martin Pitt
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)

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-10 Thread Launchpad Bug Tracker
** 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. --

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-10 Thread Martin Pitt
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)

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-10 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/tomcat6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/632554 Title: tomcat fails to start with: /bin/bash already running. -- ubuntu-bugs mailing list

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-08 Thread Stéphane Graber
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. --

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-08 Thread Michael Jeanson
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-08 Thread Stéphane Graber
Uploaded to lucid-proposed currently waiting for approval. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/632554 Title: tomcat fails to start with: /bin/bash already running. -- ubuntu-bugs

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-05 Thread Launchpad Bug Tracker
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-12-05 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/sid/tomcat6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/632554 Title: tomcat fails to start with: /bin/bash already running. -- ubuntu-bugs mailing list

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-24 Thread Thierry Carrez
** 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.

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-24 Thread Thierry Carrez
** 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.

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Thierry Carrez
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Launchpad Bug Tracker
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Thierry Carrez
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Launchpad Bug Tracker
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Thierry Carrez
Also pushed to debian to ensure proper sync. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-23 Thread Thag
I'd really like to see this backported to lucid since that's the LTS release we're using on our servers. Thanks -Bruce -- 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 Bugs,

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-12 Thread gerry skerbitz
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-12 Thread Thag
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-12 Thread gerry skerbitz
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-12 Thread Thag
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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread gerry skerbitz
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread gerry skerbitz
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

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread Thag
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 ---

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread gerry skerbitz
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread gerry skerbitz
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

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-11-03 Thread Thag
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 ---

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-15 Thread Thierry Carrez
** 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. --

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-15 Thread Craig Box
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.

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-15 Thread Thierry Carrez
** 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-15 Thread Craig Box
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.

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-09 Thread Thag
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-09 Thread Thierry Carrez
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 wrapper to use (rather than recreate it every time). Furthermore this should be

Re: [Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-09 Thread Thag
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Thag
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Mathias Gug
** 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. --

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Brian Murray
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Thag
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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Thag
** 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

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Mathias Gug
** 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Brian Murray
** 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 632554] Re: tomcat fails to start with: /bin/bash already running.

2010-09-07 Thread Thag
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