[Bug 1465691] [NEW] init script doesn't handle hanging tomcat processes
Launchpad Bug Tracker
1465691 at bugs.launchpad.net
Sun Dec 11 19:48:02 UTC 2016
You have been subscribed to a public bug by Daniel Holbach (dholbach):
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: Confirmed
** Affects: tomcat8 (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: patch
--
init script doesn't handle hanging tomcat processes
https://bugs.launchpad.net/bugs/1465691
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list