You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
681 B
24 lines
681 B
|
|
module mariadb-server-galera 1.0;
|
|
|
|
require {
|
|
type mysqld_t;
|
|
type rsync_exec_t;
|
|
type anon_inodefs_t;
|
|
type proc_net_t;
|
|
type kerberos_port_t;
|
|
class file { read execute execute_no_trans getattr open };
|
|
class tcp_socket { name_bind name_connect };
|
|
class process { setpgid siginh rlimitinh noatsecure };
|
|
}
|
|
|
|
# allow mysqld to run rsyncd
|
|
allow mysqld_t self:process setpgid;
|
|
allow mysqld_t rsync_exec_t:file { read execute execute_no_trans getattr open };
|
|
allow mysqld_t anon_inodefs_t:file getattr;
|
|
allow mysqld_t proc_net_t:file { read open };
|
|
|
|
# allow rsyncd to listen on port 4444
|
|
allow mysqld_t kerberos_port_t:tcp_socket { name_bind name_connect };
|
|
|