<div dir="ltr">It seems that this function probably isn't implemented in musl:<div><a href="https://git.musl-libc.org/cgit/musl/tree/src/sched/sched_getscheduler.c">https://git.musl-libc.org/cgit/musl/tree/src/sched/sched_getscheduler.c</a><br></div><div><br></div><div>Is there any hope for a workaround?</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 24, 2017 at 6:09 PM Ross Boucher <<a href="mailto:rboucher@gmail.com">rboucher@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Installing ip6tables got a bit further, but now it seems to fail possibly on sched_getscheduler:<div class="gmail_msg">
<p class="m_1084651182056078680inbox-inbox-p1 gmail_msg"><span class="m_1084651182056078680inbox-inbox-s1 gmail_msg">(00.032508) Error (criu/cr-dump.c:134): Can't get sched policy for 2337: Function not implemented</span></p><p class="m_1084651182056078680inbox-inbox-p1 gmail_msg"><span class="m_1084651182056078680inbox-inbox-s1 gmail_msg">Full log: <a href="https://gist.github.com/boucher/5c8edcbf0c7f9d9e39ed1d74c09440e5" class="gmail_msg" target="_blank">https://gist.github.com/boucher/5c8edcbf0c7f9d9e39ed1d74c09440e5</a></span></p></div></div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Tue, Jan 24, 2017 at 5:53 PM Ross Boucher <<a href="mailto:rboucher@gmail.com" class="gmail_msg" target="_blank">rboucher@gmail.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hey everyone,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Since checkpoint/restore has shipped in experimental mode for Docker, I thought I'd try to get it working with Docker for Mac. I think this should be possible, since it seems building for Alpine linux has already been taken care of, but I haven't gotten it working just yet. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">What I have done is install CRIU 2.9, from the apk testing repository for alpine linux, in the d4m vm[1], then run a simple checkpoint on a busybox container. Here's the dump log:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><a href="https://gist.github.com/boucher/2ac2de1d80ab59bce518d108ec8d0371" class="gmail_msg" target="_blank">https://gist.github.com/boucher/2ac2de1d80ab59bce518d108ec8d0371</a><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Seems that some network script isn't working, but I'm not sure if the log is telling me that its an RPC script. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanis,</div><div class="gmail_msg">Ross</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">[1]: You can access the vm with screen:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div></blockquote></div></blockquote></div>