OESF Portables Forum

Model Specific Forums => Cosmo Communicator => Cosmo Communicator - Linux => Topic started by: cam1965 on June 11, 2021, 08:34:20 pm

Title: kernel with apparmor does not boot. Any Ideas ?
Post by: cam1965 on June 11, 2021, 08:34:20 pm
Hi .
I have compiled 2 kernels.
Differences are below
< # CONFIG_DEFAULT_SECURITY_SELINUX is not set
< CONFIG_DEFAULT_SECURITY_APPARMOR=y
---
> CONFIG_DEFAULT_SECURITY_SELINUX=y
> # CONFIG_DEFAULT_SECURITY_APPARMOR is not set
4837c4837
< CONFIG_DEFAULT_SECURITY="apparmor"
---
> CONFIG_DEFAULT_SECURITY="selinux"


When apparmor is the default security the kernel doesn't  boot correctly. It  hangs  at the debian logo image.
With  selinux as a default  security everything is OK.

Why ?
Any ideas ?
Thank you.