Re: [lxc-users] How to enable SElinux for LXC ?

2018-02-08 Thread john
Per the conf man page, have you confirmed that the host has selinux enabled and that lxc was compiled with selinux support? John ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] How to enable SElinux for LXC ?

2018-02-08 Thread bryn1u85 .
Hey, Im trying to run lxc with selinux on Centos 7. I installed and created lxc container with simple command lxc-create -n test -t centos. After that i just added to the: /var/lib/lxc/test/config line like below: lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 or entry from