<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>I did not find a solution with 2.0.8, so I moved on to 2.1. The lxc.cgroup.dir seems to do</div>
<div>what I want. Unfortunately, the cgroup configuration process seems to change settings</div>
<div>outside of the cgroup/dir pointed to be lxc.cgroup.dir, namely, sets cgroup.clone_children</div>
<div>to 1 when it should be 0.</div>
<div><br>
</div>
<div>I have asked about this latter issue on the lxc forum at</div>
<div><a href="https://discuss.linuxcontainers.org/t/why-cgroups-are-setup-as-they-are/1313/2">https://discuss.linuxcontainers.org/t/why-cgroups-are-setup-as-they-are/1313/2</a></div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div>On Wed, 2018-02-28 at 22:58 +0000, Marshall2, John (SSC/SPC) wrote:</div>
<blockquote type="cite">
<div>Hi,</div>
<div><br>
</div>
<div>At the moment I am using LXC 2.0.8 (ubuntu 16.04) and have noticed a change in behavior</div>
<div>since previous releases of LXC I have used (1.x and 2.0.5, I believe). I've not yet narrowed</div>
<div>when the change happened.</div>
<div><br>
</div>
<div>My goal is to start an LXC container within an existing (arbitrary) cgroup. Previously, I was</div>
<div>able to run lxc-start from within a cgroup and the new LXC cgroup would be created under</div>
<div>it. I used lxc.cgroup.pattern=%n in lxc.conf.</div>
<div><br>
</div>
<div>Is there any way to do the same thing with v2.0.8? I see that 2.1 has lxc.cgroup.dir which</div>
<div>appears to do what I need, but I am trying to do this with 2.0.8, at least for now.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>John</div>
<pre>_______________________________________________
lxc-users mailing list
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
</body>
</html>