On Wed, Nov 3, 2010 at 10:26 AM, gerry skerbitz <632...@bugs.launchpad.net>wrote:
> 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.000000000 -0500 > --- tomcat6 2010-11-03 12:19:04.000000000 -0500 > *************** > *** 152,154 **** > start-stop-daemon --start -b -u "$TOMCAT6_USER" -g "$TOMCAT6_GROUP" > \ > ! -c "$TOMCAT6_USER" -d "$CATALINA_TMPDIR" \ > -x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH" > --- 152,154 ---- > start-stop-daemon --start -b -u "$TOMCAT6_USER" -g "$TOMCAT6_GROUP" > \ > ! -c "$TOMCAT6_USER" -d "$CATALINA_TMPDIR" -p "$CATALINA_PID" > \ > -x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH" > }}} > > Seems like a perfectly reasonable fix. I have a hard time understanding why it wasn't done this way at first. > -- > tomcat fails to start with: /bin/bash already running. > https://bugs.launchpad.net/bugs/632554 > You received this bug notification because you are a direct subscriber > of the bug. > -- 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 Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs