-
Notifications
You must be signed in to change notification settings - Fork 302
fleet ignoring manual unit state changes #628
Comments
@jonboulle I know... |
More interesting:
Maybe this goes back to #352? |
This is because we don't react to nil UnitStatus objects coming out of dbus at all. |
What do you mean "nil UnitStatus objects coming out of dbus"? What does that look like? |
@bcwaldon I meant in terms of what we get from dbus/go-systemd itself - seems like a bug to me that the status channel ever returns nils |
@jonboulle nil does mean something, and we could totally react to it. We just don't. We could react by fetching the current state of the Unit and publishing that, which would actually fix this bug. We've gone back and forth on how we are managing unit state, but we've never really sat down and figured out the 100% correct solution. Let's talk in person. |
Is this covered by #651 ? |
yes |
Fixed by #651 |
Create a unit
foo.service
with the following contents:Start it with fleetctl:
Stop it manually with systemctl:
fleet doesn't get the message, however:
The text was updated successfully, but these errors were encountered: