Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #11648] Reload permission error with SELinux #4147
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11648
Created by mzac on 2016-04-21 13:04:38 +00:00
I've noticed that if Icinga2 is started by the root user, then the icinga user tries a reload, there is a permission error thrown:
2016-08-15 11:15:56 +00:00 by dgoetz 5e628f0
2016-08-15 11:33:47 +00:00 by dgoetz bc06ff1
Updated by mfriedrich on 2016-04-22 08:07:12 +00:00
Sounds like an SELinux issue. @dirk please have look into that, thanks.
Updated by dgoetz on 2016-08-09 10:53:34 +00:00
I need some more input. Can you tell me the operating system version? Your output looks like a none systemd version, so it is not a RHEL 7 derivate or Fedora.
For now I think it is RHEL6 with SELinux enabled but we do not provide a policy, so chcon -t icinga2_tmp_t $OUTPUTFILE from safe-reload fails, but except from the output it does not cause any problems.
Updated by mzac on 2016-08-09 16:17:46 +00:00
You were good on your guess, RHEL 6. Anything else you need?
Red Hat Enterprise Linux Server release 6.8 (Santiago)