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

Service active check #860

Closed jw3 closed 1 year ago

jw3 commented 1 year ago
  1. Delete the fapolicyd.service file
  2. Do not do a systemctl daemon-reload
  3. Start fapolicy analyzer
Fapd Handle is_valid() or is_active() exception: DbusFailure(D-Bus error: Failed to get file context on /usr/lib/systemd/system/fapolicyd.service. (org.freedesktop.DBus.Error.AccessDenied))

Appears to be an unhandled state when querying dbus.

This was originally flattened out, looks like regression in 594bee047611c58c794a2677c926f87da2f29862 where I started propagating the exception instead.

The original valid check is infallible contract should be restored.