[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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
 COMMIT
 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 };
-EOF
-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"
-- 
1.5.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]