Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Fix apache.p12 ownership
......................................................................

packaging: Fix apache.p12 ownership

This file is not used at all by Apache, but it is owned by the apache
user and group and the engine can't read it. This means that when the
engine is configured without Apache as a frontend it can't read it and
thus can't start the HTTPS connector.

Change-Id: Icfec797ae67eb791f9f9537d734b590d1555420e
Signed-off-by: Juan Hernandez <[email protected]>
---
M packaging/fedora/setup/engine-setup.py
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/51/10851/1

diff --git a/packaging/fedora/setup/engine-setup.py 
b/packaging/fedora/setup/engine-setup.py
index f347e78..ea24f43 100755
--- a/packaging/fedora/setup/engine-setup.py
+++ b/packaging/fedora/setup/engine-setup.py
@@ -858,6 +858,7 @@
     changeList = [os.path.join(basedefs.DIR_OVIRT_PKI, "private"),
                   basedefs.FILE_CA_CRT_SRC,
                   basedefs.FILE_ENGINE_KEYSTORE,
+                  basedefs.FILE_APACHE_KEYSTORE,
                   os.path.join(basedefs.DIR_OVIRT_PKI, "private", "ca.pem"),
                   os.path.join(basedefs.DIR_OVIRT_PKI, ".truststore")]
     for item in changeList:
@@ -869,8 +870,6 @@
             logging.debug("changing file permissions for %s to 0640" % item)
             os.chmod(item, 0640)
 
-    os.chown(basedefs.FILE_APACHE_KEYSTORE, utils.getUsernameId("apache"), 
utils.getGroupId("apache"))
-    os.chmod(basedefs.FILE_APACHE_KEYSTORE, 0640)
     os.chown(basedefs.FILE_APACHE_PRIVATE_KEY, utils.getUsernameId("apache"), 
utils.getGroupId("apache"))
     os.chmod(basedefs.FILE_APACHE_PRIVATE_KEY, 0640)
 


--
To view, visit http://gerrit.ovirt.org/10851
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfec797ae67eb791f9f9537d734b590d1555420e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to