Bug#596343: other issue

2010-09-13 Thread FRLinux
Hello, I am not sure this is related but found another issue. What we do
at the moment, is install the new slapd package on a replica, then
reconfigure it to use our stuff (some extra schemas and using BDB rather
than HDB).

When doing a reconfigure, i am now getting this:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
  Creating initial configuration... Loading the initial configuration from
the ldif file () failed with
the following error while running slapadd:
ldif_read_record: include file:///etc/ldap/schema/core.ldif failed

Surely enough, there was no schemas there, so my quick fix was just to
rsync the ones we had from another squeeze (earlier version using 2.4.17
before your migration to /etc/ldap/slapd.d/) and that worked:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
  Creating initial configuration... done.
  Creating LDAP directory... done.
Starting OpenLDAP: slapd.

Cheers,
Steph




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#596343: other issue

2010-09-13 Thread Steve Langasek
On Mon, Sep 13, 2010 at 02:11:11PM +0100, FRLinux wrote:
 Hello, I am not sure this is related but found another issue. What we do
 at the moment, is install the new slapd package on a replica, then
 reconfigure it to use our stuff (some extra schemas and using BDB rather
 than HDB).

 When doing a reconfigure, i am now getting this:

 ldap:~# dpkg-reconfigure slapd
 Stopping OpenLDAP: slapd.
   Creating initial configuration... Loading the initial configuration from
 the ldif file () failed with
 the following error while running slapadd:
 ldif_read_record: include file:///etc/ldap/schema/core.ldif failed

 Surely enough, there was no schemas there,

Well, those are conffiles belonging to the slapd package; you can remove
them (as you appear to have done), but if you do so, you'll have to provide
your own schemas in their place.  And if you remove core.ldif, your setup is
incompatible with the package autoconfiguration.

So no, that's not related to this bug.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#596343: other issue

2010-09-13 Thread FRLinux

On 09/13/10 17:16, Steve Langasek wrote:

Well, those are conffiles belonging to the slapd package; you can remove
them (as you appear to have done), but if you do so, you'll have to provide
your own schemas in their place.  And if you remove core.ldif, your setup is
incompatible with the package autoconfiguration.

So no, that's not related to this bug.


Alright, thanks for your reply.

Steph





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org