[Lxc-users] Ubuntu sshd template
Gary Ballantyne
gary.ballantyne at haulashore.com
Wed Feb 2 21:36:02 UTC 2011
On 2/2/2011 1:13 PM, Trent W. Buck wrote:
> Gary Ballantyne
> <gary.ballantyne at haulashore.com> writes:
>
>> Would greatly appreciate any help getting the sshd template working on
>> my Ubuntu 9.10 host.
>
> I recommend you upgrade to 10.04 LTS and try again. 9.10 will be
> end-of-lifed by Canonical in three months, after which time there will
> be no security patches released for 9.10.
>
> (10.04 LTS packages receive support until 2013 or 2015, depending on
> whether they're considered "server" packages.)
Good idea. To test it out I installed 10.10 on a vmware server (10.10
uses lxc 0.7.2-1, 10.04 uses 0.6.5-1).
I installed openssh-client, openssh-server and bridge-utils; set up the
bridge bridge [1] and cgroup [2]; installed lxc.
[1] http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-10.10
[2] http://lxc.teegra.net/#_setup_of_the_controlling_host
To check everything was OK I changed the ip address in lxc-veth.conf, then:
# /usr/bin/lxc-execute -n foo -f
/usr/share/doc/lxc/examples/lxc-veth.conf /bin/bash
The container fired up, and I could ping to/from the host. However, when
I left the container (with "exit") things got weird. In a second
terminal (already connected to the host), I got repeated errors of the form:
[ 1396.169010] unregister_netdevice: waiting for lo to become free.
Usage count = 3.
Where the bracketed number changes for each error. (A new error appears
every 10 seconds or so).
Then, if I try to fire up the container again, the terminal freezes and
I have to reboot to get things back to normal (i.e. where I can
successfully run the lxc-execute command above).
Thinking this was an issue with vmware I repeated the process on an old
machine with the same result (the only difference was that there was
only one terminal open and the [ 1396.169010] error appeared in that
terminal)
Any suggestions?
More information about the lxc-users
mailing list