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

Handle missing trust.d #716

Closed
jw3 opened this issue Dec 21, 2022 · 0 comments · Fixed by #734
Closed

Handle missing trust.d #716

jw3 opened this issue Dec 21, 2022 · 0 comments · Fixed by #734
Labels
backend bug Something isn't working trust
Milestone

Comments

@jw3
Copy link
Member

jw3 commented Dec 21, 2022

Trust.d could be missing due to

  1. Older fapolicyd version
  2. Removed

This does not need to be a failure case, it simply results in no trust being sourced from trust.d

@jw3 jw3 added bug Something isn't working backend trust labels Dec 21, 2022
@jw3 jw3 added this to the v1.0 milestone Dec 21, 2022
@jw3 jw3 closed this as completed in #734 Jan 11, 2023
jw3 added a commit that referenced this issue Jan 11, 2023
The fapolicy.trust file and trust.d directory can either/both be missing
and fapolicyd will function. Given that, we should be able to handle the
same scenarios.

This ensures that the read and write logic works around both files being
optional.

Closes #716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working trust
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant