HomeClusterLabs Projects

Fix: libcrmservice: properly detect systemd unit existence

Description

Fix: libcrmservice: properly detect systemd unit existence

Previously, we treated a successful LoadUnit method call as indicating that a
systemd unit exists. However, it does not mean the unit was successfully
loaded, only that the LoadUnit got a reply of the expected type. We must also
check the LoadState property to know whether the load itself was successful.

Details

Provenance
kgaillotAuthored on Sep 23 2021, 12:52 PM
Parents
rP421f87398b59: Merge pull request #2518 from kgaillot/rhbz1470834
Branches
Unknown
Tags
Unknown

Event Timeline