Set the role state to ERROR if in a transitional state on startup

Review Request #218 - Created Sept. 16, 2015 and submitted

Information
Stephen Gallagher
rolekit
master
45
e08ffcd...
Reviewers
rolekit
mitr, nphilipp, sgallagh, twoerner
A role will never be in a transitional state at startup unless the
roled process terminated unexpectedly. In this case, we need to
make sure to set the error appropriately, otherwise we won't be
able to clean up properly (decommission and reset-error don't work
in transitional states).

Fixes: https://github.com/libre-server/rolekit/issues/45

  
Nils Philippsen
Stephen Gallagher
Review request changed

Status: Closed (submitted)

Loading...