6eecceb
policy_module(mcollective, 1.0.0)
6eecceb
6eecceb
########################################
6eecceb
#
6eecceb
# Declarations
6eecceb
#
6eecceb
6eecceb
type mcollective_t;
6eecceb
type mcollective_exec_t;
6eecceb
init_daemon_domain(mcollective_t, mcollective_exec_t)
6eecceb
cron_system_entry(mcollective_t, mcollective_exec_t)
6eecceb
6eecceb
permissive mcollective_t;
6eecceb
6eecceb
type mcollective_etc_rw_t;
6eecceb
files_type(mcollective_etc_rw_t)
6eecceb
6eecceb
########################################
6eecceb
#
6eecceb
# mcollective local policy
6eecceb
#
6eecceb
allow mcollective_t self:fifo_file rw_fifo_file_perms;
6eecceb
allow mcollective_t self:unix_stream_socket create_stream_socket_perms;
6eecceb
6eecceb
manage_files_pattern(mcollective_t, mcollective_etc_rw_t, mcollective_etc_rw_t)
6eecceb
files_etc_filetrans(mcollective_t, mcollective_etc_rw_t, file, "facts.yaml")
6eecceb
6eecceb
domain_use_interactive_fds(mcollective_t)
6eecceb