-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.4.16
-
Component/s: None
-
None
-
Environment:RHEL 10.2
Steps to reproduce:
- Assign systemd template to Zabbix Server or Zabbix Proxy
Result:
Items will fail with error "Cannot get unit property: SELinux policy denies access".
The same template works on all other Linux systems
Expected:
Items are collected
Debugging steps taken:
I tried to disable SELinux and if its disabled it will work.
I also tried to remove dontaudit rules from the policy but nothing is logged in that case, it looks like some library called is SELinux aware and it does not try to do anything with SELinux enabled.