Errors trying to install centos 6.2 as an lxc guest under centos 6.2 host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 Hi all,

 I am trying to install a centos 6.2 container under centos 6.2 host
using libvirt and virt.-manager. I have selected "OS Container"
option, but when I try to launch this guest virt-manager returns me
this error:

PATH=/sbin:/usr/sbin:/bin:/usr/bin LIBVIRT_DEBUG=3
LIBVIRT_LOG_OUTPUTS=3:stderr /usr/libexec/libvirt_lxc --name mysqlsrv
--console 20 --handshake 23 --background --veth veth1 PATH=/bin:/sbin
TERM=linux LIBVIRT_LXC_UUID=41bfb51b-294e-1ba9-16c9-fc2e3a345ff6
LIBVIRT_LXC_NAME=mysqlsrv /sbin/init
16:39:23.115: 1: info : libvirt version: 0.9.4, package: 23.el6_2.6
16:39:23.115: 1: error : lxcContainerChild:896 : cannot find init path
'/sbin/init' relative to container root: No such file or directory

 I have followed these instructions: http://libvirt.org/drvlxc.html
and http://berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/

 I have tried to do the same using rhel6.2 instead of centos 6.2 and
results are the same ...

 What am I doing wrong?? Do I need to copy all host files to this
guest?? I f yes, then, how can I apply security updates to these
guests??

 Thanks.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux