zabbix server spawns multiple processes

The zabbix server process is a multi-process system.

In order to, for instance, shut it down, signalling within the domain is
necessary. Otherwise, the processes remain running.

Also, since there are multiple processes trying to use the same log file,
the zabbix server uses semaphores to ensure proper access to the log files
(concurrency).

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
Sven Vermeulen 2011-06-13 10:25:50 +02:00 committed by Chris PeBenito
parent b598c4421c
commit ae5814904e
1 changed files with 2 additions and 0 deletions

View File

@ -27,7 +27,9 @@ files_pid_file(zabbix_var_run_t)
allow zabbix_t self:capability { setuid setgid }; allow zabbix_t self:capability { setuid setgid };
allow zabbix_t self:fifo_file rw_file_perms; allow zabbix_t self:fifo_file rw_file_perms;
allow zabbix_t self:process { setsched getsched signal };
allow zabbix_t self:unix_stream_socket create_stream_socket_perms; allow zabbix_t self:unix_stream_socket create_stream_socket_perms;
allow zabbix_t self:sem create_sem_perms;
# log files # log files
allow zabbix_t zabbix_log_t:dir setattr; allow zabbix_t zabbix_log_t:dir setattr;