Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
`lxc exec` hangs - how to troubleshoot? #764
Comments
|
On Sun, Jun 14, 2015 at 12:32:56PM -0700, anatoly techtonik wrote:
I think this was just fixed with Tycho
|
|
Are you running with Go 1.4 by any chance? |
|
@tych0 my commit indeed fixes a race in there, though we still have the problem that multi-threaded unix communication seem to be busted on Go 1.4 for some reason. |
stgraber
added
the
Bug
label
Jun 15, 2015
stgraber
added this to the lxd-0.12 milestone
Jun 15, 2015
|
@stgraber strange thing. |
|
Oh, looks like you're running gccgo then instead of golang-go. That version is 1.4 from gccgo. I'd recommend you uninstall any gccgo.* package from your system and instead install golang-go. That compiler tends to be better on x86, especially for memory consumption. For our own packages we only use gccgo for architectures which golang-go doesn't support, so currently arm64, powerpc and ppc64el. |
|
|
|
But it seems irrelevant. I removed gccgo.* and LXC still works. I am using LXC from PPA. |
|
Odd, here I definitely have golang-go providing the go command. |
|
Why odd? LXC is compiled into binary and doesn't need go, no? As for proposal, filled https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1465705 |
|
I was referring to the fact that gccgo-go is the only alternative for go. That shouldn't be the case as golang-go also provides it. |
rcj4747
commented
Jun 17, 2015
|
I've build from 3efd3a1 and recreated on vivid. My very temporary solution (which still occasionally fails) is: sudo systemctl restart lxd I build with golang-go in vivid per the instructions in README.md. |
|
The fix for this was pushed last week but the issue wasn't closed. Doing so now. |
techtonik commentedJun 14, 2015
I've initialized container and trying to apt-get install stuff into it making snapshots on the way. Sometimes the
lxc exec contain -- apt-get install gitjust hangs with no output and not responding to Ctrl-C etc. How to figure out what happens?