[Pkg-openldap-devel] Bug#593965: slapd upgrade logic may mail on existing/working slapd.d/ configurations

Peter Marschall peter at adpm.de
Fri Sep 17 17:07:31 UTC 2010


Hi Steve,

On Sunday, 12. September 2010, Steve Langasek wrote:
> For migration, I think it's best to just do:
> 
> 	if previous_version_older 2.4.23-3 && [ -f "${SLAPD_CONF}" ] && ! [ -d
> /etc/ldap/slapd.d ]
> 
> This makes it a one-time migration on the first upgrade, only if slapd.d
> isn't already present.  If it *is* present, we should trust that the user
> did the conversion correctly.

Yes, that's it!!!
It is really good to have another pair of eyes looking at one's (i.e. my ;-) 
patches.

Thanks for the 2.4.23-5 !
Upgrade from -4 went great.

Best
Peter

-- 
Peter Marschall
peter at adpm.de





More information about the Pkg-openldap-devel mailing list