diff --git a/policy/modules/services/mysql.te b/policy/modules/services/mysql.te index 13c0555..086df22 100644 --- a/policy/modules/services/mysql.te +++ b/policy/modules/services/mysql.te @@ -129,8 +129,7 @@ userdom_dontaudit_use_unpriv_user_fds(mysqld_t) userdom_read_user_home_content_files(mysqld_t) ifdef(`distro_redhat',` - # because Fedora has the sock_file in the database directory - type_transition mysqld_t mysqld_db_t:sock_file mysqld_var_run_t; + filetrans_pattern(mysqld_t, mysqld_db_t, mysqld_var_run_t, sock_file) ') tunable_policy(`mysql_connect_any',`