<div dir="ltr">Turns out that it was cgroup was mounted under /cgroup, so I was able to create the folder there and mount it. However the container shows the same error:<div><br></div><div><div>[root@devhost fs]# mount -t cgroup -o none,name=systemd cgroup /cgroup/systemd/</div><div><br></div><div>[root@devhost fs]# grep cg /proc/mounts</div><div>cgroup /cgroup/cpuset cgroup rw,relatime,cpuset 0 0</div><div>cgroup /cgroup/cpu cgroup rw,relatime,cpu 0 0</div><div>cgroup /cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0</div><div>cgroup /cgroup/memory cgroup rw,relatime,memory 0 0</div><div>cgroup /cgroup/devices cgroup rw,relatime,devices 0 0</div><div>cgroup /cgroup/freezer cgroup rw,relatime,freezer 0 0</div><div>cgroup /cgroup/net_cls cgroup rw,relatime,net_cls 0 0</div><div>cgroup /cgroup/blkio cgroup rw,relatime,blkio 0 0</div><div>cgroup /cgroup/systemd cgroup rw,relatime,name=systemd 0 0</div><div><br></div><div>[root@devhost fs]# lxc-start -F -n node2</div><div>lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller mountpoint found</div><div>lxc-start: start.c: lxc_spawn: 1079 failed initializing cgroup support</div><div>lxc-start: start.c: __lxc_start: 1329 failed to spawn 'node2'</div><div>lxc-start: lxc_start.c: main: 344 The container failed to start.</div><div>lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 21, 2016 at 11:38 AM, F Dave <span dir="ltr"><<a href="mailto:feldavic@gmail.com" target="_blank">feldavic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I cloned the master branch and rebuilt it. Did 'make uninstall' for the previous lxc-2.0.0 and installed new version. However it still throws the same error. Also tried to create the systemd folder:<div><br></div><div><div>[root@devhost lxc]# mkdir -p /sys/fs/cgroup/systemd</div><div>mkdir: cannot create directory `/sys/fs/cgroup/systemd': No such file or directory</div><div><br></div><div>[root@devhost lxc]# ll /sys/fs/cgroup/</div><div>total 0</div><div><br></div><div>[root@devhost lxc]# ll /sys/fs/</div><div>total 0</div><div>drwxr-xr-x. 2 root root 0 Apr 21 07:07 btrfs</div><div>drwxr-xr-x. 2 root root 0 Apr 20 09:07 cgroup</div><div>drwxr-xr-x. 4 root root 0 Apr 21 07:07 ext4</div><div>drwxr-xr-x. 2 root root 0 Apr 21 07:07 selinux</div></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 21, 2016 at 9:14 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>> cgfsng.c:all_controllers_found:431 - no systemd controller mountpoint found<br>
> lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller<br>
> mountpoint found<br>
<br>
</span>This is known. You can either run from git head to get the patch which<br>
fixes this, or just make sure to have a name=systemd cgroup controller<br>
mounted on the host.<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>
</div></div></blockquote></div><br></div>