<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail-gE gmail-iv gmail-gt" style="padding:20px 0px 0px;font-size:12.8px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><table cellpadding="0" class="gmail-cf gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-size:0.875rem;letter-spacing:0.2px;display:block"><tbody style="display:block"></tbody></table></div><div id="gmail-:157" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-qQVYZb"></div><div class="gmail-utdU2e"></div><div class="gmail-btm"></div></div><div class="gmail-"><div class="gmail-aHl" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"></div><div id="gmail-:15k" tabindex="-1" style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"></div><div id="gmail-:159" class="gmail-ii gmail-gt" style="direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:158" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:1.5"><div dir="ltr">Dear all<div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">Does the current version of  LXC 3.0.3 support the new cgroup v2 ?</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"> I try to run LXC containers with the unified cgroup but containers fail to start with these error "</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div>Failed to create directory "/sys/fs/cgroup/unified//lxc/u2<br></div><div><div>Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1219 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/u2-1"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1243 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-1"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1321 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-1"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1219 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/u2-2"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1243 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-2"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1321 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-2"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1219 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/u2-3"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1243 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-3"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1321 - Failed to create cgroup "/sys/fs/cgroup/unified//lxc/u2-3"</div><div>lxc-start u2 20190408090114.500 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1219 - File exists - Failed to create directory "/sys/fs/cgroup/unified//lxc/u2-4"</div></div><div>....................</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">I am using ubuntu 18.04 with linux kernel 4.18 LTS, in order to use the new unified cgroup v2 controllers , I need to disable cgroup v1 conrollers as it is documented in cgroup v2 , when I do that container fail to start as above. if i re-enable cgroup v1 controllers  the container start  successfully.</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">kind regards, </div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">Asraa Ali </div></div></div></div></div></div></div></div>