Selinux warning when running lxc

As a workaround, install selinux-policy-default, and set SELINUX=disabled in /etc/selinux/config, like so:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
...

Then reboot the system.

1 Like