[rhelv6-list] Problems creating lxc guests under rhel6.2

C. L. Martinez carlopmart at gmail.com
Fri Mar 9 14:57:29 UTC 2012


Hi all,

 I am trying to install a rhel6.2 container under rhel6.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
14:48:50.526: 1: info : libvirt version: 0.9.4, package: 23.el6_2.6
14:48:50.526: 1: error : lxcContainerChild:896 : cannot find init path
'/sbin/init' relative to container root: No such file or directory

 I have followed this kb from redhat:
https://access.redhat.com/knowledge/solutions/64332.

 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.




More information about the rhelv6-list mailing list