ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Fix service valid check #861

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

Fix a regression from 594bee0 by flattening the service valid check to false on dbus error.

The original contract of the valid check was that it was infallible in order to provide a simple way to check service status. The change was an unintentional artifact left from debugging while improving the service status checks.

Closes #860