Comment 5 for bug 1340836

Revision history for this message
Manoj Iyer (manjo) wrote : Re: [juju/lxc] juju local deploy on kvm machine using lxc failed with error: error executing "lxc-start"

I am not sure if this might be the cause of failure.. ignore this comment if this does not make sense.

Reading this patch to lxc-dev:
https://lists.linuxcontainers.org/pipermail/lxc-devel/2014-February/007780.html

I see:

+ if (geteuid() == 0)
+ d->cgroup_pattern = lxc_global_config_value("lxc.cgroup.pattern");
+ if (!d->cgroup_pattern)
+ d->cgroup_pattern = "%n";
+
+ d->meta = lxc_cgroup_load_meta();
+ if (!d->meta) {
+ ERROR("cgroupfs failed to detect cgroup metadata");
+ goto err2;
+ }

should it be d->cgroup_pattern = "/%n"; instead ?