Author Topic: kernel with apparmor does not boot. Any Ideas ?  (Read 2867 times)

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
kernel with apparmor does not boot. Any Ideas ?
« 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.