Why is SELinux still disabled eventhough CONFIG_SECURITY_SELINUX is enabled in the kernel?

QuestionsWhy is SELinux still disabled eventhough CONFIG_SECURITY_SELINUX is enabled in the kernel?
sethbeckerman5 Staff asked 7 years ago

I am compiling Linux kernel v3.12.61 with PREEMPT-RT patch in Yocto (1.8.1 Fido) with the following kernel configuration enabled. The directory is created but it is empty.

Regardless of whether I enable or set it or , the result is still the same.

I have installed the SELinux userspace tools using the meta-selinux layer from OE. I also set in . Running returns . Previously that was all I needed to do when compiling an older kernel (v3.2). Am I missing anything here?


View on Stack Overflow