lxc-container-default-with-mounting profile systemd permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On a fresh install of Xenial just install lxc. Run typical lxc init setup. lxc-create any Ubuntu version (Trusty/Wily/Xenial tested) container and configure it to use the lxc-container-
[10870.395952] audit: type=1400 audit(146948463
The container will appear start and you can attach, but its broken. Things like networking won't work. You cannot lxc-stop the container without -k.
Starting the container in foreground mode leads to the following error.
Failed to mount cgroup at /sys/fs/
[!!!!!] Failed to mount API fileysystems, freezing.
Freezing execution.
I found defect https:/
(UPDATE: Forgot to mention I have 2 additional conf lines as follows)
lxc.cgroup.
lxc.cgroup.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
report matches a setup for 16.04 with upstart instead of systemd and no cgroup-lite or similar pre-mounting the right cgroup, error is correct, host setup is likely the issue.