Init script restart method does not return non-zero exit on startup failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
The restart method of the haproxy init script does not return a non-zero exit status when haproxy fails to start:
root@frisbee:
* Restarting haproxy haproxy
[ALERT] 171/113150 (17697) : Starting frontend standard-
root@frisbee:
0
The start method does handle this appropriately:
root@frisbee:
* Starting haproxy haproxy
[ALERT] 171/113157 (17711) : Starting frontend standard-
root@frisbee:
2
Additional information:
root@frisbee:
Description: Ubuntu 12.04.2 LTS
Release: 12.04
root@frisbee:
haproxy:
Installed: 1.4.18-0ubuntu1.2
Candidate: 1.4.18-0ubuntu1.2
Version table:
*** 1.4.18-0ubuntu1.2 0
500 http://
500 http://
100 /var/lib/
1.
500 http://
Merijntje Tak (mtak) wrote : | #1 |
The attachment "haproxy_diff.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]