PacketFence - BTS - PacketFence | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001562 | PacketFence | web admin | public | 2012-09-29 16:05 | 2015-02-13 15:42 |
Reporter | candlerb | ||||
Assigned To | |||||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | closed | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | 3.5.1 | ||||
Target Version | investigate | Fixed in Version | |||
fixed in git revision | |||||
fixed in mtn revision | |||||
Summary | 0001562: Cannot stop running daemon if status is "should be stopped" | ||||
Description | After changing configs, it is possible to get into a state where the service status is "should be stopped" but the daemon is still running. In this situation, the GUI does not show the Stop button. e.g. dhcpd (expected status) stopped (actual status) running [but no stop button] The problem is in html/admin/administration/services.php where the condition for displaying the stop button is on line 121: if (($services[1] == 1) && ($services[2] != 0)) { services[1] is "shouldBeStarted" and services[2] is pid (or 0 for not running) I suggest this is changed to just: if ($services[2] != 0) { so that you can always stop a running daemon. However the same block also controls the display of the "restart" button, and that should be controlled by the original condition. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-09-29 16:05 | candlerb | New Issue | |||
2012-09-30 02:37 | candlerb | Note Added: 0003111 | |||
2012-10-19 11:07 | fgaudreault | Target Version | => investigate | ||
2015-02-13 15:42 | lmunro | Note Added: 0003824 | |||
2015-02-13 15:42 | lmunro | Status | new => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|