diff options
author | Ade Lee <alee@redhat.com> | 2012-07-10 11:50:59 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-07-25 01:48:48 -0400 |
commit | 5fd74e0e0c9407306e99ef4fd2e776cb911ee94a (patch) | |
tree | 7b4c9b87431bfc59c558921df8cb02bbd31a03ba /base/deploy/src/scriptlets/pkiconfig.py | |
parent | 7168edccfcdb769ead6d5cbc02f7fab9772e1a82 (diff) | |
download | pki-5fd74e0e0c9407306e99ef4fd2e776cb911ee94a.tar.gz pki-5fd74e0e0c9407306e99ef4fd2e776cb911ee94a.tar.xz pki-5fd74e0e0c9407306e99ef4fd2e776cb911ee94a.zip |
Selinux policy for new configuration.
Added tomcat_t for java processes. Added aliases for old types to allow
compatibility of existng subsystems. Added install scripts for pkispawn
and pkidestroy
Diffstat (limited to 'base/deploy/src/scriptlets/pkiconfig.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkiconfig.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/base/deploy/src/scriptlets/pkiconfig.py b/base/deploy/src/scriptlets/pkiconfig.py index fc8ddac90..e300c1ea7 100644 --- a/base/deploy/src/scriptlets/pkiconfig.py +++ b/base/deploy/src/scriptlets/pkiconfig.py @@ -79,6 +79,11 @@ PKI_DEPLOYMENT_DEFAULT_CONFIGURATION_FILE = "pkideployment.cfg" PKI_DEPLOYMENT_SLOTS_CONFIGURATION_FILE =\ "/usr/share/pki/deployment/config/pkislots.cfg" +# default ports (for defined selinux policy) +PKI_DEPLOYMENT_DEFAULT_HTTP_PORT = 8080 +PKI_DEPLOYMENT_DEFAULT_HTTPS_PORT = 8443 +PKI_DEPLOYMENT_DEFAULT_TOMCAT_SERVER_PORT = 8005 +PKI_DEPLOYMENT_DEFAULT_AJP_PORT = 8009 # PKI Deployment Jython 2.2 Constants PKI_JYTHON_CRITICAL_LOG_LEVEL = 1 @@ -174,3 +179,10 @@ pki_subsystem_dict = None pki_master_dict = None pki_slots_dict = None pki_master_jython_dict = None + +# PKI Selinux Constants and parameters +PKI_INSTANCE_SELINUX_CONTEXT = "pki_tomcat_var_lib_t" +PKI_LOG_SELINUX_CONTEXT = "pki_tomcat_log_t" +PKI_CFG_SELINUX_CONTEXT = "pki_tomcat_etc_rw_t" +PKI_PORT_SELINUX_CONTEXT = "pki_tomcat_port_t" +pki_selinux_config_ports = [] |