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

Fixed ancillary trust loading when swapping session files #840

Closed dorschs57 closed 1 year ago

dorschs57 commented 1 year ago

Fixes some threading/callback issues when a system revert happens followed by a set of changesets being applied. This happens when a user loads a new session file with changesets in it, or the system is reverted using the post-deployment revert option. In both cases an async trust check is kicked off from the revert. When the changesets are then applied a trust check using the new System object was not initiated.

closes #828 closes #827

dorschs57 commented 1 year ago

@egbicker can you verify these changes fix the issue you were seeing with #827?

egbicker commented 1 year ago

@dorschs57 I can confirm this resolves #827. It has seemingly closed #736 for me as well (I haven't been able to replicate this one yet)

jw3 commented 1 year ago

Looks like this closed #736 as well