Blame SOURCES/mariadb-server-galera.te

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