<div dir="ltr">Thanks for your reply Evgeni,<div><br></div><div>I can confirm that the issue is related to the /sys/fs/cgroup/systemd to be mounted under the cgroup2 hierarchy with systemd 232-2. The 4.8 kernel doesn't play a role here: I tried to revert to an older snapshot with systemd 231-10 and 4.8 kernel and lxc behaves correctly because /sys/fs/cgroup/systemd is mounted under cgroup1 hierarchy by default.</div><div><br></div><div>As explained by the GH thread /sys/fs/cgroup/systemd should be mounted with cgroup instead of cgroup2.</div><div><br></div><div>Any idea on how to force systemd to use cgroup instead of cgroup2 hierarchy?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 8:42 AM, Evgeni Golov <span dir="ltr"><<a href="mailto:evgeni@debian.org" target="_blank">evgeni@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrea,<br>
<span class=""><br>
On Sun, Nov 06, 2016 at 05:07:40PM +0100, Andrea wrote:<br>
> lxc-ls -f fails attempting to free an invalid pointer, a user after free maybe?<br>
<br>
</span>Could be, there was a similar report upstream...<br>
<br>
Can you please post the outputs of<br>
 cat /proc/1/mountinfo<br>
 cat /proc/self/cgroup<br>
<br>
I suspect that with kernel 4.8 systemd mounts th cgroup2 fs instead of<br>
old cgroup and this breaks libpam-cgfs and that confuses lxc-* :(<br>
<br>
See also <a href="https://github.com/lxc/lxc/issues/1280" rel="noreferrer" target="_blank">https://github.com/lxc/lxc/<wbr>issues/1280</a><br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Evgeni<br>
</font></span></blockquote></div><br></div>