<div dir="ltr">So, <div><br></div><div>I'm not familiarized with POSIX details but seems like here's the reason why they've decided to do this?</div><div><br></div><div><a href="http://git.musl-libc.org/cgit/musl/commit/src/sched/sched_setscheduler.c?id=1e21e78bf7a5c24c217446d8760be7b7188711c2">http://git.musl-libc.org/cgit/musl/commit/src/sched/sched_setscheduler.c?id=1e21e78bf7a5c24c217446d8760be7b7188711c2</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 5, 2016 at 8:34 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@virtuozzo.com" target="_blank">xemul@virtuozzo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/05/2016 02:25 PM, Marcos Lilljedahl wrote:<br>
> Hey Pavel,<br>
><br>
> I guess Ross should be using his underlying kernel as he's running docker?. I guess I found where the problem might be<br>
><br>
> <a href="http://git.musl-libc.org/cgit/musl/tree/src/sched/sched_setscheduler.c" rel="noreferrer" target="_blank">http://git.musl-libc.org/cgit/musl/tree/src/sched/sched_setscheduler.c</a><br>
<br>
</span>Yup, such a nice sched_setscheduler() implementation. But it's in glibc, not in the kernel.<br>
<br>
> :D<br>
<span class="">><br>
> On Tue, Jul 5, 2016 at 8:21 AM, Pavel Emelyanov <<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a> <mailto:<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>>> wrote:<br>
><br>
> On 07/05/2016 02:33 AM, Ross Boucher wrote:<br>
> > Ahh yes, installing ip6tables did the trick. Here's the next failure after fixing that issue:<br>
> ><br>
> > <a href="https://gist.github.com/boucher/1113fdbc54293f9eaf96c84543c53174" rel="noreferrer" target="_blank">https://gist.github.com/boucher/1113fdbc54293f9eaf96c84543c53174</a><br>
><br>
> Error (cr-dump.c:133): Can't get sched policy for 4200: Function not implemented<br>
><br>
> This is sched_setscheduler(2) and call to it results in ENOSYS %)<br>
> What kernel is there on Alpine?<br>
><br>
> -- Pavel<br>
><br>
> > -Ross<br>
> ><br>
> ><br>
</span><span class="">> > On Mon, Jul 4, 2016 at 2:19 PM Pavel Emelyanov <<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a> <mailto:<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>> <mailto:<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a> <mailto:<a href="mailto:xemul@virtuozzo.com">xemul@virtuozzo.com</a>>>> wrote:<br>
> ><br>
> > On 07/04/2016 02:30 AM, Ross Boucher wrote:<br>
> > > Thanks to Andrew's efforts I was able to build criu for alpine linux, and install it into the vm powering docker for mac, along with a docker binary that supports checkpoint/restore. Unfortunately it doesn't quite work yet. Here's the error I got:<br>
> > ><br>
> > > (00.095748) Lock network<br>
> > > (00.095756) Running network-lock scripts<br>
> > > (00.095762) RPC<br>
> > > (00.110768) Error (util.c:651): exec failed: No such file or directory<br>
> > > (00.111163) Error (util.c:665): exited, status=1<br>
> ><br>
> > This is exec on iptables-restore and (probably) ip6tables-restore.<br>
> ><br>
> > > Full log: <a href="https://gist.github.com/boucher/6c79b10abf40225d9bd779e3bff70f9d" rel="noreferrer" target="_blank">https://gist.github.com/boucher/6c79b10abf40225d9bd779e3bff70f9d</a><br>
> > ><br>
> > > It seems like some runtime dependency may be missing? `ifconfig`, `iptables` and `ip` all<br>
> > > seem to be available. Any thoughts on what might be missing?<br>
> > ><br>
> > > -Ross<br>
> > ><br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > CRIU mailing list<br>
</span>> > > <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a> <mailto:<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>> <mailto:<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a> <mailto:<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>>><br>
<span class="">> > > <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
> > ><br>
> ><br>
><br>
> _______________________________________________<br>
> CRIU mailing list<br>
</span>> <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a> <mailto:<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a>><br>
> <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
><br>
><br>
<br>
</blockquote></div><br></div>