HomeClusterLabs Projects

Feature: executor: Use D-Bus to detect systemd resource startup
4fa2bb014105Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Feature: executor: Use D-Bus to detect systemd resource startup

The executor just has to register a callback that gets called when
JobRemoved signals are received from systemd. This callback then takes
the data it's given and finds a matching svc_action_t. If there's a
match, it can then finalize the action and remove it from the table of
actions we're watching for.

At the moment this only handles start actions, which is not sufficient
to close T25, but it's a good start and should be easy enough to build
on to handle stop actions and perhaps also monitors.

Related T25

Details

Provenance
clumensAuthored on Jan 20 2025, 3:03 PM
nrwahl2Committed on Feb 5 2025, 3:46 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.