Hi zhangzhang,
Did you check your SELinux settings? Is it set to enforcing?
Did you check your SELinux settings? Is it set to enforcing?
I faced the same error on CentOS 6.3. My SELinux was disabled. I just set it to enforcing and rebooted the system. I could create a container after reboot.
Thanks and Regards,
Saurabh.
On Mon, Mar 25, 2013 at 12:29 PM, 张章 <zhang_zhang@xxxxxxxx> wrote:
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 errorMy OS: Ubuntu 11.10Can anyone help me? Thanks a lot!regardszhangzhang
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users