Skip to content
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

ModuleIsLoaded() Errors if Golang is from snap #3

Open
lornajane opened this issue May 17, 2020 · 1 comment
Open

ModuleIsLoaded() Errors if Golang is from snap #3

lornajane opened this issue May 17, 2020 · 1 comment

Comments

@lornajane
Copy link

With golang installed from a snap, ModuleIsLoaded() always exited with status 1 - I think because it doesn't have permission to run the pacmd command. Using "normal" golang (downloaded from the go website) does not have the same problem.

I'm not sure what the answer is, a line in the README to warn users maybe? But I wanted to mention it in case anyone else hit the same thing.

@joonas-fi
Copy link

This doesn't make sense. Go is a compiler, and as such it is only concerned about build-time stuff, not runtime stuff.

Were you running your compiled binary inside a sandbox as well? That could explain it, but it has nothing to do with the programming language or the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants