[Bug 1465691] [NEW] init script doesn't handle hanging tomcat processes
Stefan Himpich
ubuntu at himpich.de
Tue Jun 16 14:13:24 UTC 2015
Public bug reported:
Ubuntu version:
Description: Ubuntu 14.04.1 LTS
Release: 14.04
--------------------------------------------------------
package version:
tomcat7:
Installed: 7.0.52-1ubuntu0.1
Candidate: 7.0.52-1ubuntu0.1
Version table:
*** 7.0.52-1ubuntu0.1 0
--------------------------------------------------------
Expected:
when the start-stop-daemon fails to stop the process (e.g. Java VM stuck), it returns 2. I expect the script to return an error message, exit code != 0 and not remove the PID file.
--------------------------------------------------------
Happens:
The init script checks the return codes for start-stop-daemon and handles "1" and "3" correctly. All others are handled like a "0":
- pid file removed
- exitcode of the init script is "0"
** Affects: tomcat7 (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "Patch which handles errorcode 2"
https://bugs.launchpad.net/bugs/1465691/+attachment/4415708/+files/tomcat7.patch
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat7 in Ubuntu.
https://bugs.launchpad.net/bugs/1465691
Title:
init script doesn't handle hanging tomcat processes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1465691/+subscriptions
More information about the Ubuntu-server-bugs
mailing list