URL: https://github.com/freeipa/freeipa/pull/1319
Author: tiran
 Title: #1319: [Backport][ipa-4-5] Prevent installation of Py2 and Py3 mod_wsgi
Action: opened

PR body:
This PR was opened manually because PR #1306 was pushed to master and backport 
to ipa-4-5 is required.

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1319/head:pr1319
git checkout pr1319
From e7b1c3d37f347a8bbf06700ec9da7af0d324b1f7 Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Wed, 22 Nov 2017 09:54:17 +0100
Subject: [PATCH] Prevent installation of Py2 and Py3 mod_wsgi

FreeIPA is either compatible with Python 2 mod_wsgi or Python 3
mod_wsgi. mod_wsgi can not coexist in the same Apache process as
mod_wsgi_python3. When both mod_wsgi and python3-mod_wsgi are installed,
the first loaded module wins and the other one is never loaded.

Add conflict on the other module to prevent installation of both


Signed-off-by: Christian Heimes chei...@redhat.com
 freeipa.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index a8b5ce81fc..fc5f7722a9 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -279,6 +279,7 @@ Requires: cyrus-sasl-gssapi%{?_isa}
 Requires: ntp
 Requires: httpd >= 2.4.6-31
 Requires: mod_wsgi
+Conflict: python3-mod_wsgi
 Requires: mod_auth_gssapi >= 1.5.0
 # 1.0.14-3: https://bugzilla.redhat.com/show_bug.cgi?id=1431206
 Requires: mod_nss >= 1.0.14-3
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to