[Pkg-openldap-devel] Bug#774316: fails to upgrade to jessie with "cannot add entry with empty dn"

Antoine Beaupré anarcat at koumbit.org
Tue Dec 30 23:08:40 UTC 2014


Package: slapd
Version: 2.4.40-3
Severity: grave

This package cannot be upgaded to jessie:

Paramétrage de slapd (2.4.40-3) ...
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-1+nmu2... done.
  Moving old database directories to /var/backups:
  Loading from /var/backups/slapd-2.4.31-1+nmu2:
  - directory dc=koumbit,dc=org... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    slapadd: line 1: cannot add entry with empty dn=""
dpkg: erreur de traitement du paquet slapd (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

I don't believe I had anything fancy going on here.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages slapd depends on:
ii  adduser                     3.113+nmu3
ii  coreutils                   8.23-3
ii  debconf [debconf-2.0]       1.5.55
ii  libc6                       2.19-13
ii  libdb5.3                    5.3.28-7~deb8u1
ii  libgnutls-deb0-28           3.3.8-5
ii  libldap-2.4-2               2.4.40-3
ii  libltdl7                    2.4.2-1.11
ii  libodbc1                    2.3.1-3
ii  libperl5.20                 5.20.1-4
ii  libsasl2-2                  2.1.26.dfsg1-12
ii  libslp1                     1.2.1-10
ii  libwrap0                    7.6.q-25
ii  lsb-base                    4.1+Debian13+nmu1
ii  multiarch-support           2.19-13
ii  perl [libmime-base64-perl]  5.20.1-4
ii  psmisc                      22.21-2

Versions of packages slapd recommends:
ii  libsasl2-modules  2.1.26.dfsg1-12

Versions of packages slapd suggests:
ii  ldap-utils                                                     2.4.40-3
pn  libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal  <none>

-- Configuration Files:
/etc/default/slapd changed:
SLAPD_USER="openldap"
SLAPD_GROUP="openldap"
SLAPD_PIDFILE=
SLAPD_SERVICES="ldap://127.0.0.1:389/ ldapi://127.0.0.1:389/"
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
SLAPD_OPTIONS=""

/etc/ldap/schema/nadf.schema d6765e5f63cd7226e6c74cbf7200fd62 [Errno 2] Aucun fichier ou dossier de ce type: u'/etc/ldap/schema/nadf.schema d6765e5f63cd7226e6c74cbf7200fd62'

-- debconf information:
  slapd/unsafe_selfwrite_acl:
  slapd/upgrade_slapcat_failure:
* slapd/domain: koumbit.org
  slapd/invalid_config: true
* slapd/no_configuration: false
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/suffix_change: false
* slapd/backend: HDB
* slapd/dump_database: when needed
  slapd/password_mismatch:
  slapd/slurpd_obsolete:
* shared/organization: koumbit.org
* slapd/move_old_database: true
  slapd/tlsciphersuite:
* slapd/allow_ldap_v2: false
* slapd/purge_database: true



More information about the Pkg-openldap-devel mailing list