Joey Boggs
2009-Mar-20 19:54 UTC
[Ovirt-devel] [PATCH server] check for mod_ssl package, ipa install will fail if installed
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
Scott Seago
2009-May-28 15:19 UTC
[Ovirt-devel] [PATCH server] check for mod_ssl package, ipa install will fail if installed
Joey Boggs wrote:> 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 >ACK, Works for me. Scott