389-ds-base added logging if the entry cache is smaller than the database so users will know they need to tune their DS install. Set this as the minimum for IPA.

rob
>From aaab55333bdb91f9db4960e9aacbc2779cd8a8f4 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Tue, 14 Aug 2012 09:24:07 -0400
Subject: [PATCH] Set minimum of 389-ds-base to 1.2.11.8 to pick up cache
 warning.

If the DB is bigger than nsslapd-cachememsize then a warning will be
logged by 389-ds-base.

https://fedorahosted.org/freeipa/ticket/2739
---
 freeipa.spec.in |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index f74084712e5eaf01006bec68c62110b02dde7a3d..54bf41c86e09953b9468ab5f3995c555148e784b 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -101,7 +101,7 @@ Requires: %{name}-client = %{version}-%{release}
 Requires: %{name}-admintools = %{version}-%{release}
 Requires: %{name}-server-selinux = %{version}-%{release}
 %if 0%{?fedora} >= 17
-Requires(pre): 389-ds-base >= 1.2.11.5-1
+Requires(pre): 389-ds-base >= 1.2.11.8-1
 %else
 Requires(pre): 389-ds-base >= 1.2.10.10-1
 %endif
@@ -751,6 +751,10 @@ fi
 %ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt
 
 %changelog
+* Thu Aug 14 2012 Rob Crittenden <rcrit...@redhat.com> - 2.99.0-41
+- Set min for 389-ds-base to 1.2.11.8-1 on F17+ to pull in warning about
+  low nsslapd-cachememsize.
+
 * Thu Aug 2 2012 Martin Kosek <mko...@redhat.com> - 2.99.0-40
 - Set min for bind-dyndb-ldap to 1.1.0-0.15.rc1 to pick up SOA serial autoincrement
   feature
-- 
1.7.10.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to