Enforcing MLS policy and rescue mode
Hi,
I'm facing issue on RHEL7 with mls policy and enforcing state. System not reacting after booting to rescue mode. Issue here is missing transition rule where sulogin_t domain with s15:c0.c1023 trying to transition to sysadm_t with s0-s15:c0.c1023. I don't think that we want allow this.
On the other hand question is, if enforced MLS policy is supported in rescue mode?
Thanks for help.
Lukas.
Signature · 3 lines
Lukas Vrabec SELinux Solutions Red Hat, Inc.
Quoted 10 lines · Lukas Vrabec via refpolicy
Hi,
I'm facing issue on RHEL7 with mls policy and enforcing state. System not reacting after booting to rescue mode. Issue here is missing transition rule where
sulogin_tdomain with s15:c0.c1023 trying to transition tosysadm_twith s0-s15:c0.c1023. I don't think that we want allow this.On the other hand question is, if enforced MLS policy is supported in rescue mode?
It should be supported, even if it doesn't work right now. I believe sulogin_t should probably have the same MLS range as local_login_t, as they're of equivalent MLS sensitivity. With that in place, the transition to sysadm_t should be allowed, regardless of the change of range.
Signature · 1 line
Chris PeBenito
Quoted 9 lines · Chris PeBenito
Quoted 8 lines · Lukas Vrabec via refpolicy
Hi,
I'm facing issue on RHEL7 with mls policy and enforcing state. System not reacting after booting to rescue mode. Issue here is missing transition rule where
sulogin_tdomain with s15:c0.c1023 trying to transition tosysadm_twith s0-s15:c0.c1023. I don't think that we want allow this.
Quoted 9 lines
Quoted 2 lines
On the other hand question is, if enforced MLS policy is supported in rescue mode?
It should be supported, even if it doesn't work right now. I believe
sulogin_tshould probably have the same MLS range aslocal_login_t, as they're of equivalent MLS sensitivity. With that in place, the transition tosysadm_tshould be allowed, regardless of the change of range.
Hi Chris,
I change MLS range to sulogin_t same as local_login_t and rescue mode start working.
Thank you for help!
Lukas.
Signature · 3 lines
Lukas Vrabec SELinux Solutions Red Hat, Inc.