Blame SOURCES/mariadb-server-galera.te

584bfd
584bfd
module mariadb-server-galera 1.0;
584bfd
584bfd
require {
584bfd
    type mysqld_t;
584bfd
    type rsync_exec_t;
584bfd
    type anon_inodefs_t;
584bfd
    type proc_net_t;
584bfd
    type kerberos_port_t;
584bfd
    class file { read execute execute_no_trans getattr open };
584bfd
    class tcp_socket { name_bind name_connect };
584bfd
    class process { setpgid siginh rlimitinh noatsecure };
584bfd
}
584bfd
584bfd
# allow mysqld to run rsyncd
584bfd
allow mysqld_t self:process setpgid;
584bfd
allow mysqld_t rsync_exec_t:file { read execute execute_no_trans getattr open };
584bfd
allow mysqld_t anon_inodefs_t:file getattr;
584bfd
allow mysqld_t proc_net_t:file { read open };
584bfd
584bfd
# allow rsyncd to listen on port 4444
584bfd
allow mysqld_t kerberos_port_t:tcp_socket { name_bind name_connect };
584bfd