trunk: add type transition to fix mysql socket creation.
This commit is contained in:
parent
2ed4f5aedf
commit
9e8c3aa651
|
@ -1,5 +1,5 @@
|
|||
|
||||
policy_module(mysql,1.6.0)
|
||||
policy_module(mysql,1.6.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
@ -54,9 +54,9 @@ manage_dirs_pattern(mysqld_t,mysqld_tmp_t,mysqld_tmp_t)
|
|||
manage_files_pattern(mysqld_t,mysqld_tmp_t,mysqld_tmp_t)
|
||||
files_tmp_filetrans(mysqld_t, mysqld_tmp_t, { file dir })
|
||||
|
||||
manage_files_pattern(mysqld_t,mysqld_var_run_t,mysqld_var_run_t)
|
||||
manage_sock_files_pattern(mysqld_t,mysqld_var_run_t,mysqld_var_run_t)
|
||||
files_pid_filetrans(mysqld_t,mysqld_var_run_t,file)
|
||||
manage_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t)
|
||||
manage_sock_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t)
|
||||
files_pid_filetrans(mysqld_t, mysqld_var_run_t,{ file sock_file })
|
||||
|
||||
kernel_read_system_state(mysqld_t)
|
||||
kernel_read_kernel_sysctls(mysqld_t)
|
||||
|
|
Loading…
Reference in New Issue