Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
device is not configured when running in chroot'd folder #37637
What version of Go are you using (
Is your project closed source? Do you have a reproducible snippet (a smaller one makes investigation easier, but it doesn't have to be) that can be used to reproduce this issue?
Here is a sample....
test to make certain it runs...
Then.... try to run in chroot
and this produces....
so the problem is that the Output() is trying to open the NULL device and that device does not exist in OpenBSD6.6 chroot.
You should set stdin, stdout, and stderr of your command.