You are not logged in.
Pages: 1
well apparmor failed in boot after kernel update to 4.9.0-7-amd64, this is output when trying to start:
$ sudo /etc/init.d/apparmor start
/etc/init.d/apparmor: 130: /etc/init.d/apparmor: systemd-detect-virt: not found
[....] Starting AppArmor profiles:[info] AppArmor not available as kernel LSM..
failed!
I'm looking for a solution, and any help.
Last edited by scutterflux (2018-08-06 23:22:14)
Offline
Well this is the solution:
$ sudo mkdir -p /etc/default/grub.d
$ echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=1 security=apparmor"' \
| sudo tee /etc/default/grub.d/apparmor.cfg
$ sudo update-grub
$ sudo reboot
Offline
@scutterflux Thanks for sharing solution
Offline
Pages: 1