Could you run something like "sudo strace -yyy unshare --net chroot ..." with your failing binary to see what returns the host kernel?
Could you run something like "sudo strace -yyy unshare --net chroot ..." with your failing binary to see what returns the host kernel?