Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

fleetctl start != systemctl start #1025

@bcwaldon

Description

@bcwaldon

The fleetctl start command sets the desired state of a unit to "launched" (that's a fleet state, not a systemd state) and waits for the unit to be scheduled and the target machine to publish systemd state. fleetctl does not look at the contents of this systemd state.

The systemctl start command acts more like an RPC command, sending a StartUnit message over dbus and waiting for the created systemd job to finish.

We have a clear usability problem here. Users expect fleetctl start to be equivalent to systemctl start (#1019). This inconsistency is also preventing us from moving forward on adding a fleetctl restart command, which should reasonably act like systemctl restart (#961).

Assuming others agree that this inconsistency is a problem, I see only one real path forward. fleetctl start needs to watch for the unit to actually start successfuly in systemd.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions