summaryrefslogtreecommitdiffstats
path: root/pki/patches/pki-core-9.0.3-r2149.patch
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-10-04 01:17:41 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-10-04 01:17:41 +0000
commita4682ceae6774956461edd03b2485bbacea445f4 (patch)
tree94c475a125441da63101738220ce3972cf37db61 /pki/patches/pki-core-9.0.3-r2149.patch
parent0c775428675d2cb1be9551f84e6b741ca813f77e (diff)
downloadpki-IPA_v2_RHEL_6_2_20111003.tar.gz
pki-IPA_v2_RHEL_6_2_20111003.tar.xz
pki-IPA_v2_RHEL_6_2_20111003.zip
Bugzilla Bug #688225 - (dogtagIPAv2.1) TRACKER: of the Dogtag fixes for freeIPA 2.1IPA_v2_RHEL_6_2_20111003
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/tags/IPA_v2_RHEL_6_2_20111003@2252 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/patches/pki-core-9.0.3-r2149.patch')
-rw-r--r--pki/patches/pki-core-9.0.3-r2149.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pki/patches/pki-core-9.0.3-r2149.patch b/pki/patches/pki-core-9.0.3-r2149.patch
new file mode 100644
index 000000000..f897411b5
--- /dev/null
+++ b/pki/patches/pki-core-9.0.3-r2149.patch
@@ -0,0 +1,26 @@
+diff -ru base/common/scripts/functions /vakwetu/6.1/pki/base/common/scripts/functions
+--- base/common/scripts/functions 2011-08-15 15:51:43.745919766 -0700
++++ /vakwetu/6.1/pki/base/common/scripts/functions 2011-08-15 14:07:29.058928170 -0700
+@@ -693,12 +693,18 @@
+ # Invoke the initscript for this instance
+ case $PKI_SUBSYSTEM_TYPE in
+ ca|kra|ocsp|tks)
+- /usr/bin/runcon -t pki_${PKI_SUBSYSTEM_TYPE}_script_t $PKI_INSTANCE_INITSCRIPT start
+- rv=$?
++ if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
++ /usr/bin/runcon -t pki_${PKI_SUBSYSTEM_TYPE}_script_t \
++ $PKI_INSTANCE_INITSCRIPT start
++ rv=$?
++ else
++ $PKI_INSTANCE_INITSCRIPT start
++ rv=$?
++ fi
+ ;;
+ ra|tps)
+- $PKI_INSTANCE_INITSCRIPT start
+- rv=$?
++ $PKI_INSTANCE_INITSCRIPT start
++ rv=$?
+ ;;
+ esac
+