Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: spec: rhel: workaround java crypto provider leak ......................................................................
packaging: spec: rhel: workaround java crypto provider leak Bug-Url: https://bugzilla.redhat.com/1028966 Change-Id: Ibff8fb245766c3b43f456b331ec418f2dd11bf6b Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M ovirt-engine.spec.in 1 file changed, 31 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/30/21930/1 diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in index f63b2d7..b798d91 100644 --- a/ovirt-engine.spec.in +++ b/ovirt-engine.spec.in @@ -667,6 +667,30 @@ install -d "%{buildroot}%{_sysconfdir}/firewalld/services" touch "%{buildroot}%{_sysconfdir}/firewalld/services/ovirt.xml" +# +# rhbz#1028966 +# custom default crypto provider leaks memory +# install java's default +# +%if 0%{?rhel} +cat > "%{buildroot}%{engine_etc}/engine.conf.d/10-packaging-rhel-1028966.conf" << __EOF__ +# +# DO NOT EDIT THIS FILE +# +# Workaround rhbz#1028966, memory leak of custom default provider. +# +ENGINE_PROPERTIES="\${ENGINE_PROPERTIES} java.security.properties=%{engine_data}/conf/rhel-1028966-java.security" +__EOF__ +cat > "%{buildroot}%{engine_data}/conf/rhel-1028966-java.security" << __EOF__ +# +# DO NOT EDIT THIS FILE +# +# Workaround rhbz#1028966, memory leak of custom default provider. +# +security.provider.1=sun.security.provider.Sun +__EOF__ +%endif + %preun if [ "$1" -eq 0 ]; then # @@ -741,6 +765,13 @@ %{_mavenpomdir}/JPP.%{name}-utils.pom %endif +# +# rhbz#1028966 +# +%if 0%{?rhel} +%{engine_data}/conf/rhel-1028966-java.security +%endif + %files lib %{engine_data}/bin/java-home %{python_sitelib}/ovirt_engine/ -- To view, visit http://gerrit.ovirt.org/21930 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibff8fb245766c3b43f456b331ec418f2dd11bf6b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches