openstack-ansible-lxc_hosts/files/lxc-attach.te
Marc Gariepy 6fd1f9e0c4 Add selinux rules to allow lxc-attach after reboot
Lxc-attach does not work after a reboot on CentOS
it needs a selinux module to allow it.

Change-Id: I4226a86b852193a4c3c2812ea4879b37cca348e6
2016-12-02 14:48:26 +00:00

12 lines
221 B
Plaintext

module lxc-attach 1.0;
require {
type unconfined_service_t;
type var_lib_t;
class file entrypoint;
}
#============= unconfined_service_t ==============
allow unconfined_service_t var_lib_t:file entrypoint;