[Ovirt-devel] [PATCH node-image] Moved setting of selinux policy to node RPM since it needs to happen always

Perry Myers pmyers at redhat.com
Tue Sep 23 19:13:01 UTC 2008

node RPM is installed on bare metal hosts (Fedora 9) and if they want to be
able to use iSCSI storage the selinux policy must always be set, not just
for the embedded hypvervisor.

Signed-off-by: Perry Myers <pmyers at redhat.com>
 common-post.ks |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/common-post.ks b/common-post.ks
index d44324c..0a1c60f 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -43,20 +43,6 @@ cat > /etc/sysconfig/iptables << \EOF
-# make disks available to VMs
-cat > /tmp/ovirt.te <<EOF
-module ovirt 1.0.0;
-require {
-    type fixed_disk_device_t;
-    type qemu_t;
-    class blk_file { ioctl getattr setattr read write };
-allow qemu_t fixed_disk_device_t:blk_file { ioctl getattr setattr read write };
-checkmodule -M -m -o /tmp/ovirt.mod /tmp/ovirt.te
-semodule_package -o /tmp/ovirt.pp -m /tmp/ovirt.mod
-semodule -i /tmp/ovirt.pp
 echo "Removing excess RPMs"
 RPM="rpm -v -e --nodeps"

More information about the ovirt-devel mailing list