Skip to contentSkip to conversation

lxc-console on Debian Squeeze - both 0.7.2 and 0.7.5 less than happy

DISCUSSION Whit Blauvelt 1 participant 1 message Jan 4, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

On a Debian Squeeze system I'm trying to run some Debian Squeeze containers. I've been having trouble with lxc-console. Sometimes it connects fine. Other times it doesn't. This is with the Squeeze version of LXC, unfortunately only 0.7.2. So I wanted to see if 0.7.5 would be better. Installed from tar to its default location. Symlinked /usr/local/var/lib/lxc to /var/lib/lxc where I already had a couple of containers configured.

That's enough to get the containers to start from the 0.7.5 lxc-start. But it leaves the 0.7.5 lxc-console totally unhappy. It's obviously looking at things differently than lxc-start and lxc-info:

# lxc-info -n xfer
state:   RUNNING
pid:      1414
# lxc-console -n xfer
lxc-console: 'xfer' is stopped

The 'xfer' container is running, and can be connected to by SSH just fine. But I'd like to get lxc-console working dependably. Again, with 0.7.2 (providing that the 0.7.2 lxc-start was used) it connects or fails to seemingly randomly. It's an older version. Who cares? But how do I convince the 0.7.5 version that what lxc-info can see, it should see too, and connect with?

Thanks,
Whit