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

Scott Seago sseago at redhat.com
Thu May 28 15:19:10 UTC 2009


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




More information about the ovirt-devel mailing list