[Lxc-users] Installing Centos6 lxc guests under CentOS6 hosts
carlopmart
carlopmart at gmail.com
Sat Mar 10 11:57:20 UTC 2012
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?? If yes, then, how can I apply security updates to lxc guests??
--
CL Martinez
carlopmart {at} gmail {d0t} com
More information about the lxc-users
mailing list