diff options
Diffstat (limited to 'base/server/python/pki/server/deployment/scriptlets/selinux_setup.py')
-rw-r--r-- | base/server/python/pki/server/deployment/scriptlets/selinux_setup.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py b/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py index daf41423f..dce5648a0 100644 --- a/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py +++ b/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py @@ -69,9 +69,6 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet): # add SELinux contexts when adding the first subsystem if deployer.mdict['pki_subsystem'] in \ - config.PKI_APACHE_SUBSYSTEMS and \ - deployer.instance.apache_instance_subsystems() == 1 \ - or deployer.mdict['pki_subsystem'] in \ config.PKI_TOMCAT_SUBSYSTEMS and \ len(deployer.instance.tomcat_instance_subsystems()) == 1: @@ -167,9 +164,6 @@ class PkiScriptlet(pkiscriptlet.AbstractBasePkiScriptlet): try: # remove SELinux contexts when removing the last subsystem if (deployer.mdict['pki_subsystem'] in - config.PKI_APACHE_SUBSYSTEMS and - deployer.instance.apache_instance_subsystems() == 0 or - deployer.mdict['pki_subsystem'] in config.PKI_TOMCAT_SUBSYSTEMS and len(deployer.instance.tomcat_instance_subsystems()) == 0): |