[Bug 1340836] Re: [juju/lxc] juju local deploy on kvm machine using lxc failed with error: error executing "lxc-start"

Manoj Iyer 1340836 at bugs.launchpad.net
Fri Jul 11 17:12:24 UTC 2014


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 ?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1340836

Title:
  [juju/lxc] juju local deploy on kvm machine using lxc failed with
  error: error executing "lxc-start"

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1340836/+subscriptions



More information about the Ubuntu-server-bugs mailing list