[libvirt-users] Failed to boot lxc with libvirt 1.0.3:2013-03-25 06:54:17.620+0000: 1: error : lxcContainerMountBasicFS:563 : Failed to mount /selinux on /selinux type selinuxfs flags=e opts=(null): No such device

张章 zhang_zhang at live.com
Mon Mar 25 06:59:51 UTC 2013


hi all,     I am using lxc with libvirt. But I can't boot lxc container by libvirt 1.0.3(libvirt 0.9.8 works) . Below is my environment.   Do I miss something? 

lxc1.xml:<domain type='lxc'>  <name>lxc1</name>  <memory>1024000</memory>  <cputune>        <shares>100</shares>  </cputune>  <os>    <type>exe</type>    <init>/bin/sh</init>  </os>  <devices>    <console type = 'pty'/>  </devices></domain>

I used virsh -c lxc:/// create lxc1.xml and got the following error:2013-03-25 06:54:17.620+0000: 1: info : libvirt version: 1.0.32013-03-25 06:54:17.620+0000: 1: error : lxcContainerMountBasicFS:563 : Failed to mount /selinux on /selinux type selinuxfs flags=e opts=(null): No such device2013-03-25 06:54:17.620+0000: 10668: info : libvirt version: 1.0.32013-03-25 06:54:17.620+0000: 10668: error : virLXCControllerRun:1468 : error receiving signal from container: Input/output error
My  OS: Ubuntu 11.10
Can anyone help me? Thanks a lot!
regardszhangzhang


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130325/f2b14005/attachment.htm>


More information about the libvirt-users mailing list