Skip to contentSkip to conversation

enforce mode problems

DISCUSSION Carlos Anísio Monteiro 2 participants 3 messages Oct 15, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi.

When I switch to enforce mode (echo 1 > /selinux/enforce), a lot of messages "avc" running in the console and the computer "freeze".
I am not succeeding in to resolve this avc messages. I note that this avc messages, mostly, are associate to the system_u:system_r:kernel_t context trying access another context.

Please, anyone could me help.

Thanks.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 9 lines · Carlos Anísio Monteiro

Hi.

When I switch to enforce mode (echo 1 > /selinux/enforce), a lot of messages "avc" running in the console and the computer "freeze". I am not succeeding in to resolve this avc messages. I note that this avc messages, mostly, are associate to the system_u:system_r:kernel_t context trying access another context.

Please, anyone could me help.

You need to address the avc messages before switching into enforcing mode. From the sound of it, you still haven't labeled your filesystems. Did you run 'make relabel' to completion? What does ls -Z /sbin/init show?

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 7 lines · Stephen Smalley

You need to address the avc messages before switching into enforcing mode. From the sound of it, you still haven't labeled your filesystems. Did you run 'make relabel' to completion? What does ls -Z /sbin/init show?

1) Yes, 'make relabel' to completion. I think that all filesystem is labeled, except /selinux and /proc directories.

2) ls -Z /sbin/init
invalid option.

obs.:
ls --context /sbin/init
-rwxr-xr-x root root system_u:object_r:init_exec_t /sbin/init

Regards.