[Pkg-openldap-devel] Bug#465148: Bug#465148: overwrites /etc/default/slapd /etc/ldap/ldap.conf on upgrade from 2.3 -> 2.4
Steve Langasek
vorlon at debian.org
Mon Feb 11 04:26:42 UTC 2008
On Mon, Feb 11, 2008 at 02:01:09PM +1100, Alex Samad wrote:
> 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
Ok, what *changed* about the configuration on upgrade? I have custom
ldap.conf files on several of my systems, and /etc/ldap/ldap.conf was not
overwritten on upgrade. Do you have an /etc/ldap/ldap.conf.dpkg-old file
after upgrading?
> I manually edited the default/slapd, i setup
> SLAPD_SERVICES="ldap:/// ldapi:/// ldaps:///"
> which was lost on upgrade
What do you mean, "lost"? How was dpkg (or apt) invoked on your system?
Did you get a conffile prompt for this file, and what answer did you give?
This is all managed by dpkg, whose handling of conffiles has been
established for a decade. I don't see how there are any bugs in slapd here.
--
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
More information about the Pkg-openldap-devel
mailing list