[Ovirt-devel] [PATCH server] check for mod_ssl package, ipa install will fail if installed

Joey Boggs jboggs at redhat.com
Fri Mar 20 19:54:31 UTC 2009


yum portion of the installer will fail due to conflicts between ipa-server and mod_ssl.

---
 installer/bin/ovirt-installer |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/installer/bin/ovirt-installer b/installer/bin/ovirt-installer
index 89c23b0..a8c9771 100755
--- a/installer/bin/ovirt-installer
+++ b/installer/bin/ovirt-installer
@@ -88,6 +88,12 @@ if (prompt_yes_no(welcome, :default => "y") == "n")
     exit(0)
 end
 
+modssl_check = `rpm -q mod_ssl`
+if modssl_check !~ /(not installed)/
+    puts "\nmod_ssl package must be removed prior to installing, to remove run: rpm -e mod_ssl\n\n"
+    exit
+end
+
 if File.exist?("/usr/sbin/selinuxenabled")
     sestatus = system "/usr/sbin/selinuxenabled"
     if sestatus == true
-- 
1.6.0.6




More information about the ovirt-devel mailing list