diff --git a/policy/modules/system/setrans.fc b/policy/modules/system/setrans.fc index 1cc3d19f1..bea462999 100644 --- a/policy/modules/system/setrans.fc +++ b/policy/modules/system/setrans.fc @@ -1,3 +1,5 @@ -/sbin/mcstransd -- gen_context(system_u:object_r:setrans_exec_t,s0) +/etc/rc\.d/init\.d/mcstrans -- gen_context(system_u:object_r:setrans_initrc_exec_t,s0) -/var/run/setrans(/.*)? gen_context(system_u:object_r:setrans_var_run_t,mls_systemhigh) +/sbin/mcstransd -- gen_context(system_u:object_r:setrans_exec_t,s0) + +/var/run/setrans(/.*)? gen_context(system_u:object_r:setrans_var_run_t,mls_systemhigh) diff --git a/policy/modules/system/setrans.te b/policy/modules/system/setrans.te index ea4aa26bf..b8bcd8a30 100644 --- a/policy/modules/system/setrans.te +++ b/policy/modules/system/setrans.te @@ -1,5 +1,5 @@ -policy_module(setrans, 1.4.1) +policy_module(setrans, 1.4.2) ######################################## # @@ -10,6 +10,9 @@ type setrans_t; type setrans_exec_t; init_daemon_domain(setrans_t, setrans_exec_t) +type setrans_initrc_exec_t; +init_script_file(setrans_initrc_exec_t) + type setrans_var_run_t; files_pid_file(setrans_var_run_t) mls_trusted_object(setrans_var_run_t)