Re: [libvirt] images on NFS do not have MCS when selinux is on

2013-04-08 Thread Eric Blake
On 04/08/2013 12:45 AM, yue wrote: > hi,all > i now test selinux(enforcing). i assign a nfs-image to a VM, then start it. > at the beginning i set virt_use_nfs on, its image does not has a MCS > corresponding to qemu-kvm process's MCS > then i remount nfs with -o context="system_u:object_r:vir

[libvirt] images on NFS do not have MCS when selinux is on

2013-04-07 Thread yue
hi,all i now test selinux(enforcing). i assign a nfs-image to a VM, then start it. at the beginning i set virt_use_nfs on, its image does not has a MCS corresponding to qemu-kvm process's MCS then i remount nfs with -o context="system_u:object_r:virt_image_t:s0" , restart VM, its image does n