Hi,<br>I am trying to run containers on rhel 6.2 using libvirt-lxc. <br>I want to migrate my containers from <a href="http://sf.net" target="_blank">sf.net</a> lxc to libvirt-lxc. So, I am using the same root file system for libvirt-lxc, which I used for <a href="http://sf.net" target="_blank">sf.net</a> lxc.<br>
After starting the container, and getting console for it, I can see the boot log for the container, it shows all the services started successfully. I get ping reply from the IP assigned to this container, but cannot ssh into the container. After entering the password for ssh, connection closed error comes up.<br>
I tried chroot to the root filesystem, and checked sshd service status. It shows that sshd is stopped. Also the /proc of container is empty.<br>Am I missing out something in configuration?<br>This is my xml file for container<br>
<domain type='lxc'><br> <name>test01</name><br> <memory>332768</memory><br> <os><br> <type>exe</type><br> <init>/sbin/init</init><br>
</os><br> <vcpu>1</vcpu><br> <clock offset='utc'/><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>destroy</on_crash><br>
<devices><br> <filesystem type='mount'><br> <source dir='/srv/lxc/test01'/><br> <target dir='/'/><br> </filesystem><br> <interface type='network'><br>
<source network='default'/><br> </interface><br> <console type='pty' /><br> </devices><br></domain><br><br clear="all"><span style>Thanks,<br></span><span style>Shweta</span><br>