--- default/domains/program/mysqld.te 2002-10-27 02:29:00.000000000 +0200 +++ current/domains/program/mysqld.te 2002-10-28 17:32:28.000000000 +0100 @@ -26,6 +26,8 @@ allow initrc_t var_run_mysqld_t:sock_file write; allow initrc_t mysqld_log_t:file { write append setattr ioctl }; +allow initrc_t etc_mysqld_t:file { read }; +allow initrc_t mysqld_db_t:dir { write }; allow mysqld_t self:capability { setgid setuid }; allow mysqld_t self:process getsched; @@ -34,7 +36,8 @@ # Allow access to the mysqld databases create_dir_file(mysqld_t, mysqld_db_t) -allow mysqld_t var_lib_t:dir search; +allow mysqld_t var_lib_t:dir { getattr search }; + # read config files r_dir_file(mysqld_t, etc_mysqld_t)