<div dir="ltr"><div>Hi Serge,</div><div><br></div><div>I have used normal "lxc launch", then I made changes to the init system. The container does come up with the init system when I disable one option in /sbin/init file</div><div><br></div><div>s6 ~ # ps auxf<br>USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND<br>root 8 0.0 0.2 218740 4052 ? Ss 07:02 0:00 bash<br>root 10 0.0 0.1 217660 2528 ? R+ 07:02 0:00 \_ ps auxf<br>root 1 0.0 0.0 1044 780 ? Ss 07:02 0:00 66-boot<br>root 6 0.0 0.0 1044 80 ? Ss 07:02 0:00 66-boot<br>root 7 0.0 0.0 2756 1980 ? Ss+ 07:02 0:00 sulogin</div><div><br></div><div>s6 ~ # cat /sbin/init<br>#!/bin/execlineb -P<br>66-boot</div><div><br></div><div>When I add -c option to 66-boot (<a href="https://framagit.org/Obarun/66/commit/b69e8c25c0d5f4313c3dd5b2f1d7995a67f3a022">https://framagit.org/Obarun/66/commit/b69e8c25c0d5f4313c3dd5b2f1d7995a67f3a022</a>) it throws this error about the memory.oom.group.</div><div><br></div><div>Also the container doesn't load all the services (when started without -c). <br></div><div><br></div><div>Thanks for any further pointers.<br></div><div>Pavol<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 29, 2019 at 2:48 AM Serge E. Hallyn <<a href="mailto:serge@hallyn.com">serge@hallyn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">How did you create the container? This seems independent of the<br>
init system. If you alter the rootfs to specify a different init,<br>
does it then come up?<br>
<br>
On Sat, Dec 28, 2019 at 10:28:15PM +0100, Pavol Cupka wrote:<br>
> Hi list,<br>
> <br>
> I am trying to start a container with s6 as the init system and supervisor.<br>
> <br>
> I am getting this error when trying to run inside unprivileged container:<br>
> <br>
> lxc s6 20191228211015.399 WARN cgfsng - cgroups/cgfsng.c:chowmod:1525 -<br>
> No such file or directory - Failed to<br>
> chown(/sys/fs/cgroup/unified//lxc.payload/s6/memory.oom.group, 131072, 0)<br>
> <br>
> kernel 5.3.12<br>
> lxd-3.18<br>
> lxc-3.2.1<br>
> <br>
> Can anybody please point me in the right direction?<br>
> <br>
> Thank you in advance<br>
> Pavol<br>
<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><br>
<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><br>
</blockquote></div>