-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
WIP: Add selinux_clear_context_cache type #317
base: master
Are you sure you want to change the base?
Conversation
Doesn't appear to work:
|
This seems like a bit of a hack, but I'm not opposed to the idea. You might need to call matchpathcon_init again though, maybe? Reading the manpage of the matchpathcon functions, I don't see any immediate safety concerns either. As far as I understand, matchpathcon and matchpathcon_init will just reload things into memory as needed if they've been reset by matchpathcon_fini. |
@ekohl do you know if Puppet uses multiple threads when applying manifests? Looking at the matchpathcon source code, it seems to use thread-local storage in some manner that might affect this. |
We had a discussion on IRC about this. It may be that the catalog is caching the defaults via My reproducer is https://github.com/theforeman/puppet-pulpcore/blob/a0796b669db347bc00da1b4a395d2d2ebf75e303/spec/acceptance/basic_spec.rb#L6-L21. |
That's a real pain, but not necessarily a dead-end. Looks like Puppet would need a bit of modifying. Basically change the defaults to a place holder |
No description provided.