Univention Bugzilla – Bug 36563
'start' a service which is already started
Last modified: 2017-07-05 13:06:15 CEST
The services module offers the grid action to 'automatically start' a service even if the service is already flagged as those. Same applies to all other actions like 'manual start' and 'no start'.
Oh, the problem applies to every grid action. So also 'start', 'stop' and 'restart' are executable even if the service has that state.
Created attachment 6341 [details]
Attached a patch which also respects if multiple entries are selected to allow e.g. that multiple services can be stopped even if the selection contains one service which is not running.
*** Bug 29611 has been marked as a duplicate of this bug. ***
Patch has been applied.
r80775 | YAML Bug #36563 Bug #36562
r80774 | Bug #36563: prevent starting of already started services
OK Start/Stop/Start automatically/Start manually/Start never/ actions are only
executable if they are not currently in that state.
OK Restart is always executable.
OK If e.g. stopping multiple services, services which are already stopped are
ignored. This applies to all other actions too.