Looking at Fedora policy I see sesearch -T -t login_exec_t Found 4 semantic te rules: type_transition rlogind_t login_exec_t : process remote_login_t; type_transition telnetd_t login_exec_t : process remote_login_t; type_transition getty_t login_exec_t : process local_login_t; type_transition kmscon_t login_exec_t : process local_login_t; Which means only getty_t and kmscon_t transition to local_login_t Then looking at getty_exec_t I see. sesearch -T -t getty_exec_t Found 8 semantic te rules: type_transition kdumpctl_t getty_exec_t : process getty_t; type_transition piranha_pulse_t getty_exec_t : process getty_t; type_transition initrc_t getty_exec_t : process getty_t; type_transition condor_startd_t getty_exec_t : process getty_t; type_transition glusterd_t getty_exec_t : process getty_t; type_transition openshift_initrc_t getty_exec_t : process getty_t; type_transition init_t getty_exec_t : process getty_t; type_transition cluster_t getty_exec_t : process getty_t; Which shows init_t transitioning to getty_t via getty_exec_t # grep getty_exec_t /etc/selinux/targeted/contexts/files/file_contexts /sbin/.*getty -- system_u:object_r:getty_exec_t:s0 /usr/sbin/.*getty -- system_u:object_r:getty_exec_t:s0 So on fedora the init system executes /usr/sbin/.*getty which should transition to getty_t. We are obviously not seeing this on your platform. On 08/24/2015 08:09 AM, Srinivasa Rao
Ragolu wrote:
|
-- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux