From 1e26508983a1ebf2c23560395ffca8b1f6f79462 Mon Sep 17 00:00:00 2001 From: Hirotaka Wakabayashi Date: Thu, 2 Jul 2020 06:19:21 +0000 Subject: [PATCH] Use python3-mod-wsgi instead of mod_wsgi on CentOS8 This fixes a stack.sh execution error on CentOS8. We should use python3-mod_wsgi instead of mod_wsgi since mod_wsgi is replaced by python3-mod_wsgi. The following change may affect this issue. https://git.centos.org/rpms/mod_wsgi/c/4a746b53e9e3fef74b227e016e785449160871b8?branch=c8s Change-Id: I5344ecf519e1a79091b6158c2d711d09b21fae0c Closes-Bug: #1885645 --- lib/apache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apache b/lib/apache index cc282006df..a121fb0e6f 100644 --- a/lib/apache +++ b/lib/apache @@ -152,7 +152,7 @@ function install_apache_wsgi { install_package libapache2-mod-wsgi-py3 elif is_fedora; then sudo rm -f /etc/httpd/conf.d/000-* - install_package httpd mod_wsgi + install_package httpd python3-mod_wsgi # For consistency with Ubuntu, switch to the worker mpm, as # the default is event sudo sed -i '/mod_mpm_prefork.so/s/^/#/g' /etc/httpd/conf.modules.d/00-mpm.conf