When you run stud with --daemon and --chroot, it tries to reopen stdin as /dev/null after doing the chroot, which returns an ENOENT.
When you run stud with --daemon and --chroot, it tries to reopen stdin as /dev/null after doing the chroot, which returns an ENOENT.