-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go mod init
hangs
#47081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can't reproduce this. I think we're going to need more information about your environment in order to help. In the directory you're creating a new module, is it hosted on some unorthodox or non-local filesystem? Can you pinpoint where the command is hanging? CC @bcmills |
Maybe a dup of #38939? |
My company uses ZFS; and our home dirs and sandboxes are hosted on network I'm able to run Here is strace output of hung
Hope this helps, please let me know if you need more details. When getting strace; I discovered multiple hung
|
@mknyszek |
A little google search on output of strace made me believe the problem is with the FileSystem For some reason; I decided to reboot my machine and problem disappeared(I'm still not sure what changed). I'm all set and unblocked for now, thanks for your help @mknyszek :) |
Thanks for following up. Closing because there doesn't seem to be anything to do. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go mod init dummy
What did you expect to see?
What did you see instead?
The command never returns and go.mod is not created
The text was updated successfully, but these errors were encountered: