Zabbix-agent + SELinux

Ошибка из-за SELinux

cannot create IPC key for path [/etc/zabbix/zabbix_agentd.conf] id [l]: [13] Permission denied

Устанавливаем контроль

$ yum provides \*/audit2allow
$ yum install policycoreutils-python-2.5-11.el7_3.x86_64

Zabbix-agent

cat /var/log/audit/audit.log | grep zabbix_agentd | grep denied | audit2allow -M zabbix_agent_setrlimit > zabbix_agent_setrlimit.te semodule -i zabbix_agent_setrlimit.pp systemctl start zabbix-agent

Zabbix-server

cat /var/log/audit/audit.log | grep zabbix_server | grep denied | audit2allow -M zabbix_server_setrlimit > zabbix_server_setrlimit.te

semodule -i zabbix_server_setrlimit.pp
service zabbix-server start

 

Zabbix

Related Articles

0 Comment

Leave a Comment

Ваш адрес email не будет опубликован.