diff options
author | Ade Lee <alee@redhat.com> | 2012-10-04 13:21:15 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-10-05 16:00:47 -0400 |
commit | da73f97ee897782a4e8fc326cd428bcd7ba5fd31 (patch) | |
tree | c99981ee4d53fe320a76ac5d33b08e3fd4896ddd /base/setup/pkiremove | |
parent | 6e79c7cb922072614155c067e26fab446893bae7 (diff) | |
download | pki-da73f97ee897782a4e8fc326cd428bcd7ba5fd31.tar.gz pki-da73f97ee897782a4e8fc326cd428bcd7ba5fd31.tar.xz pki-da73f97ee897782a4e8fc326cd428bcd7ba5fd31.zip |
Changes to start pki_ra and pki_tps in correct context
Added required selinux versions to spec file. Also added
additional rule needed for F17
Diffstat (limited to 'base/setup/pkiremove')
-rwxr-xr-x | base/setup/pkiremove | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/setup/pkiremove b/base/setup/pkiremove index dd9fbc7f9..ca81cb09e 100755 --- a/base/setup/pkiremove +++ b/base/setup/pkiremove @@ -355,6 +355,10 @@ sub get_selinux_fcontexts if (($pki_instance_name ne $default_instance_name) || ($pki_instance_root ne $default_instance_root)) { remove_fcontext($setype . "_var_lib_t", "\"$pki_instance_root/$pki_instance_name(/.*)?\"", "a", $cmd_ref); + if (! $java_component) { + remove_fcontext($setype . "_exec_t", + "\"${pki_instance_root}/{$pki_instance_name}/${pki_instance_name}\"", "a", $cmd_ref); + } } # remove context for /var/run/$pki_instance_name.pid |