Hi guys. I want to build custom Gentoo image, one based on hardened+nomultilib stage, and another one based on hardened+nomultilib+selinux stage. I’m going to setup own binary package server on Gentoo in the LXD container for my server.
I have following questions:
- Is it a good idea to run SELinux inside container or is it a better idea to use virtual machine?
- Is it possible to tell distrobuilder to download hardened+nomultilib stage instead of normal one?
- What do you think about manually setting up chroot and packing LXD image using distrobuilder?
- Is LXD compatible with SELinux? I’m not sure if I can use SELinux on production server using LXD as a container technology.