[systemd-devel] SElinux in container

arnaud gaboury arnaud.gaboury at gmail.com
Sun Aug 23 05:10:20 PDT 2015


Here is my setup:

Host:  Archlinux systemd 224-1
Container: Fedora 22 systemd 219

The container is a server and has vocation to be one day deployed on a
dediacted server for production. In this way, I would like to set
SElinux (default in Fedora). Unfortunately, doing it in Arch host is
not a trivial affair and as host is a desktop, I would like to avoid.

For now, SElinux is enabled in the Kernel with disables at boot with selinux=0.

Is there any way to enable and configure SElinux only in the
container? Looking at capabilities(7) did not give me any hints. As a
side note, CAP_SYS_MODULE does not work for container. I guess it is
due to systemd 219 on the container ?

Thank you.

-- 

google.com/+arnaudgabourygabx


More information about the systemd-devel mailing list