This is an automatically generated e-mail. To reply, visit: http://reviewboard-fedoraserver.rhcloud.com/r/241/

Ship It!

- Nils Philippsen


On Dezember 22nd, 2015, 6:16 nachm. CET, Stephen Gallagher wrote:

Review request for RoleKit Mailing List, Miloslav Trmac, Nils Philippsen, Stephen Gallagher, and Thomas Woerner.
By Stephen Gallagher.

Updated Dez. 22, 2015, 6:16 nachm.

Repository: rolekit

Description

If we disable the units before we call stop(), then the RequiredBy
linkage is already removed. This means that any unit that should
be controlled by the role-*.target won't actually be sent the
stop() command.

The correct thing to do here is to stop the role unit first, then
disable it.

Diffs

  • src/rolekit/server/rolebase.py (e573f56ae52a3447ce3c953f22f2d8f495de692a)

View Diff