As a first step, try printing out the error returned by syscall.Chroot()
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4eebb84d-c665-4cde-b34a-15fd1a03f5bf%40googlegroups.com.