Skip to content
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

Bump daemon on trust changes #42

Closed
jw3 opened this issue Mar 12, 2021 · 0 comments · Fixed by #85
Closed

Bump daemon on trust changes #42

jw3 opened this issue Mar 12, 2021 · 0 comments · Fixed by #85

Comments

@jw3
Copy link
Member

jw3 commented Mar 12, 2021

After writing trust changes need to restart the fapolicyd daemon to apply settings.

@jw3 jw3 added this to the 2 - Trust Admin (read-write) milestone Mar 12, 2021
@jw3 jw3 mentioned this issue Apr 13, 2021
@jw3 jw3 closed this as completed in #85 Apr 13, 2021
jw3 added a commit that referenced this issue Apr 13, 2021
Write ancillary trust file and signal fapolicyd to reload.

Steps applied during deployment

    back up trust file to user data dir
    write ancillary state to the fapolicyd.trust file
    signal fapolicyd

Required a bit of additional configuration work to sketch in the application config. The app config consists of user specific settings and paths. For example in this PR is the users application data directory where we will store backup snapshots of the trust file.

This is not currently taking a backup of the fapolicyd lmdb directory, only the ancillary trust file. It may be determined that the fapolicyd db needs a snapshot as well, but for now there is no need for that.

closes #41
closes #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant