-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daemon state should not change when loading a user session json file #833
Comments
There's an error in a log statement at line 144 in Line 144 should be changed to:
The debug log messages generated when duplicating this issue (after fixing line 144)
|
Will verify that this is still an issue. |
Verified on the FC38 platform that loading a session json file will start the fapd daemon if stopped initially. |
Captured stacktrace from redux land (using traceback.print_stack()) as I'm currently reverse engineering things to determine iF the I expect that I'll have to provide some new functionality to only rollback the system object, i.e. add a new function |
It does when it is used in For the session restore it does not. The quickest fix appears to be adding a boolean flag to the action to allow the callsite to specify whether to rollback or not. |
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
On RHEL86, V1.0.0, installed from EPEL-testing, with the
fapolicyd
stopped, after successfully loading (but not deploying) a saved session file,fapolicyd
was started without any explicit user action, i.e. automagically started the daemon.Use of our tool should not introduce side-effects.
The text was updated successfully, but these errors were encountered: