Re: [vdsm] some questions about selinux policy on VDSM storage

2012-06-12 Thread Zhou Zheng Sheng
Thanks Mark. I restore all the original policies, delete /rhev, and reinstall vdsm. I find out the soft links are created with "mnt_t" label and everything is OK now. In my previous setup, there was some problems installing and starting vdsm, it complained me that an error accessing /rhev/da

Re: [vdsm] some questions about selinux policy on VDSM storage

2012-06-11 Thread Mark Wu
On 06/11/2012 02:56 PM, Zhou Zheng Sheng wrote: Hi all, I am trying to create a VM in vdsm, but I find that selinux is preventing qemu from visiting images in vdsm storage. I add two policies to selinux then start the VM successfully. Not sure if I've done it right, so I'd like to ask for some a

[vdsm] some questions about selinux policy on VDSM storage

2012-06-10 Thread Zhou Zheng Sheng
Hi all, I am trying to create a VM in vdsm, but I find that selinux is preventing qemu from visiting images in vdsm storage. I add two policies to selinux then start the VM successfully. Not sure if I've done it right, so I'd like to ask for some advice. The directory structure of my vdsm storage