Skip to contentSkip to conversation

Enforcing MLS policy and rescue mode

refpolicy Lukas Vrabec 2 participants 3 messages Aug 31, 2016 – Sep 2, 2016

lore
Share & tools
lore
#0 lore raw

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.
#1 lore raw
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_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?

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
#2 lore raw
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_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.

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_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.

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.