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

Add filesecctx argument to separate file context from process context #21

Merged
merged 1 commit into from Apr 29, 2022

Conversation

ncstate-mafields
Copy link
Contributor

This is a followup PR to #17 which fixes an issue caused by the changes made there.

In the original PR, the SELinux context was changed from a process context to a file context, since it was used to set the file context on the directory resource. However, this same value is used in the cachefilesd config file to set the process context.

Upon changing the value to a process context, this caused the process to abort shortly after starting.

This PR adds a new argument which is used to control the directory context, and reverts the original process context back to its original value. This allows for a clean puppet run which correctly sets the context on the directory, and also allows the service to start successfully.

@treydock treydock merged commit 83921d3 into treydock:master Apr 29, 2022
@treydock treydock added the enhancement New feature or request label Apr 29, 2022
@treydock
Copy link
Owner

This will be released with v2.1.0 once Github Actions complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants