HomeClusterLabs Projects

Refactor: libservices: Add the systemd unit name to opaque data.
77f910134fecUnpublished

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

Refactor: libservices: Add the systemd unit name to opaque data.

Internally, pacemaker uses a shorter resource-based name when referring
to systemd actions. However, systemd itself wants a real unit name so
we append ".service" or whatever to the name at exec time. Because we
do this at the last minute and don't save it anywhere, there's no way to
figure out what action a systemd unit is associated with later.

So, add that to the opaque data. This also requires an accessor
function since the opaque data is supposed to be private.

Details

Provenance
clumensAuthored on Jan 20 2025, 2:36 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.