-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Seeing a bunch of "Failed to set SELinux context" warning #791
Comments
Hi, thx for reporting. |
oops... sorry, haven't had the morning coffe yet. OS Distribution is RHEL 8
|
I forgot, how icinga2::manage_selinux is set? |
ooooh, I don't have that set at all |
Ok, the default ist false. |
If you have enforcing you have to set icinga2::manage_selinux = true. |
Looking at the code, all that does is make sure icinga2-selinux package is installed, right? Which we install anyway. |
Yes, but if it is installed, the errors cannot occur. |
Looking at our code, looks like its only getting installed on the agents on the not the server itself. I'll work on that and let you know. Thanks. |
Keep in mind, here we have a module for icinga2 only. The modules icingaweb2 and icingadb havn't selinux support. And Icinga doesn't deliver a selinux packages for icingadb. |
Yeah, we're dead in the water no so I'll need to work on that |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
A bunch of warning similar to
Failed to set SELinux context system_u:object_r:icinga2_etc_t:s0 on /etc/icinga2/features-available/command.conf
What behaviour did you expect instead
To apply SELinux context properly
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: