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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
syscall: src/syscall/exec_linux_test.go assumes your UID is also your GID and fails on git tip #11220
On two 64-bit Fedora 21 machines running current kernels and configured without SELinux, current git tip fails self tests with:
Looking at strace output, the specific failure is an EPERM error writing to
I believe that the correct fix is to change things to pass whoamiCmd() the target GID explicitly. For the root versions this is 0, for the non-root versions it is os.Getgid(). A trial run of such a change passes all tests.
This test is failing for me at tip
We've solved the problem that this issue describes, so you are encountering a different problem. Please open a new issue. Thanks.
It would be helpful if you could "go test -c syscall" and then "strace -f syscall.test -test.run=TestCloneNEWUSERAndRemapNoRootDisableSetgroups" so that we can see exactly what is failing. Thanks.