[CRIU] criu on alpine linux (docker for mac)

Pavel Emelyanov xemul at virtuozzo.com
Tue Jul 5 04:34:30 PDT 2016


On 07/05/2016 02:25 PM, Marcos Lilljedahl wrote:
> Hey Pavel, 
> 
> I guess Ross should be using his underlying kernel as he's running docker?. I guess I found where the problem might be 
> 
> http://git.musl-libc.org/cgit/musl/tree/src/sched/sched_setscheduler.c

Yup, such a nice sched_setscheduler() implementation. But it's in glibc, not in the kernel.

> :D
> 
> On Tue, Jul 5, 2016 at 8:21 AM, Pavel Emelyanov <xemul at virtuozzo.com <mailto:xemul at virtuozzo.com>> wrote:
> 
>     On 07/05/2016 02:33 AM, Ross Boucher wrote:
>     > Ahh yes, installing ip6tables did the trick. Here's the next failure after fixing that issue:
>     >
>     > https://gist.github.com/boucher/1113fdbc54293f9eaf96c84543c53174
> 
>      Error (cr-dump.c:133): Can't get sched policy for 4200: Function not implemented
> 
>     This is sched_setscheduler(2) and call to it results in ENOSYS %)
>     What kernel is there on Alpine?
> 
>     -- Pavel
> 
>     > -Ross
>     >
>     >
>     > On Mon, Jul 4, 2016 at 2:19 PM Pavel Emelyanov <xemul at virtuozzo.com <mailto:xemul at virtuozzo.com> <mailto:xemul at virtuozzo.com <mailto:xemul at virtuozzo.com>>> wrote:
>     >
>     >     On 07/04/2016 02:30 AM, Ross Boucher wrote:
>     >     > 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:
>     >     >
>     >     > (00.095748) Lock network
>     >     > (00.095756) Running network-lock scripts
>     >     > (00.095762) RPC
>     >     > (00.110768) Error (util.c:651): exec failed: No such file or directory
>     >     > (00.111163) Error (util.c:665): exited, status=1
>     >
>     >     This is exec on iptables-restore and (probably) ip6tables-restore.
>     >
>     >     > Full log: https://gist.github.com/boucher/6c79b10abf40225d9bd779e3bff70f9d
>     >     >
>     >     > It seems like some runtime dependency may be missing? `ifconfig`, `iptables` and `ip` all
>     >     > seem to be available. Any thoughts on what might be missing?
>     >     >
>     >     > -Ross
>     >     >
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > CRIU mailing list
>     >     > CRIU at openvz.org <mailto:CRIU at openvz.org> <mailto:CRIU at openvz.org <mailto:CRIU at openvz.org>>
>     >     > https://lists.openvz.org/mailman/listinfo/criu
>     >     >
>     >
> 
>     _______________________________________________
>     CRIU mailing list
>     CRIU at openvz.org <mailto:CRIU at openvz.org>
>     https://lists.openvz.org/mailman/listinfo/criu
> 
> 



More information about the CRIU mailing list