[Pkg-openldap-devel] Bug#465148: overwrites /etc/default/slapd /etc/ldap/ldap.conf on upgrade from 2.3 -> 2.4

Alex Samad alex at samad.com.au
Mon Feb 11 03:01:09 UTC 2008


On Sun, Feb 10, 2008 at 04:01:14PM -0800, Steve Langasek wrote:
> On Mon, Feb 11, 2008 at 09:52:44AM +1100, Alex Samad wrote:
> > Just did the upgrade from slapd 2.3.38-1+lenny1 -> 2.4.7-5 and
> > /etc/defaults/slapd and /etc/ldap/ldap.conf where overwritten. I had a
> > backup of these but a warning might have been good
> 
> /etc/defaults/slapd is a conffile.  It's managed by dpkg in the standard
> way.  If you had modified your defaults, you would be prompted on upgrade
> whether to accept the new file; if you had not, then the new file comprises
> the correct new settings as determined by the maintainers.
> 
> /etc/ldap/ldap.conf is likewise a conffile, though in this case it's a
> conffile whose owner changed from libldap2 to libldap-2.4-2.  If I remember
> correctly, this at worst causes spurious conffile prompts on upgrade,
> though, not silent overwriting of conffiles.  What precisely is the problem
> you encountered with this file after the upgrade?

I used sudo-ldap, it configuration is kept in there 


I manually edited the default/slapd, i setup
SLAPD_SERVICES="ldap:/// ldapi:/// ldaps:///"

which was lost on upgrade
> 
> -- 
> Steve Langasek                   Give me a lever long enough and a Free OS
> Debian Developer                   to set it on, and I can move the world.
> Ubuntu Developer                                    http://www.debian.org/
> slangasek at ubuntu.com                                     vorlon at debian.org
> 

-- 
"Our priorities is our faith."

	- George W. Bush
10/10/2000
Greensboro, N.C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20080211/fc7388f1/attachment.pgp 


More information about the Pkg-openldap-devel mailing list