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

Daemon state preserved on session load #914

Closed tparchambault closed 11 months ago

tparchambault commented 11 months ago

Modified code so that json session file operations are only applied to the current system object's state. No rollbacks or clearing of either the current system object maintained in the UI layer nor fapolicyd's state occur.

Closes #833

tparchambault commented 11 months ago

I would like to verify that application restores post-crash are correct prior to merging.

tparchambault commented 11 months ago

Tested via rpm install over FC38. Simulated crash via # kill -p <pid> and observed expected behavior. Existing session file was detected on start-up, and the user was presented with a dialog providing them with the option to restore their prior session.