From 7e20f33c006aba169e2fc86f7bb55197d84400a4 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 6 May 2013 20:12:47 -0400 Subject: Fixed incorrect JNI_JAR_DIR. The JNI_JAR_DIR is supposed to be architecture-specific but the pki-base package is architecture-neutral. So, to ensure it has the correct value, the variable will be set at post installation. Also, to simplify the upgrade process, the variable has been moved from /etc/pki/pki.conf into /usr/share/pki/etc/pki.conf. The build, deployment, startup, and upgrade scripts have been modified accordingly. --- base/server/src/engine/pkiparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/server/src/engine') diff --git a/base/server/src/engine/pkiparser.py b/base/server/src/engine/pkiparser.py index f10706ac6..dfb265279 100644 --- a/base/server/src/engine/pkiparser.py +++ b/base/server/src/engine/pkiparser.py @@ -163,7 +163,7 @@ class PKIConfigParser: # JNI jar location jni_jar_dir = subprocess.check_output(\ - 'source /etc/pki/pki.conf && echo $JNI_JAR_DIR', + 'source /usr/share/pki/etc/pki.conf && echo $JNI_JAR_DIR', shell=True).strip() if config.pki_subsystem in config.PKI_TOMCAT_SUBSYSTEMS: -- cgit