fgrehm/vagrant-lxc

NAMESPACE issues with systemd guest

autarchprinceps opened this issue · 1 comments

When running systemd as a guest, some services, for example redis-server on Ubuntu 16.04 fail to start with namespace issues.
When disabling the following line in the /var/lib/lxc//config file, which vagrant-lxc adds, but lxc-create & lxc-start on their own do not, it works again: lxc.aa_profile = unconfined.
I don't know what you need that line for, but it breaks major packages at the very least with ubuntu 16.04, 16.10 and 17.04, I suspect it could be similar under different systemd based distros, but I haven't tested it.

Is an issue in vagrant-lxc-base-boxes, not vagrant-lxc.