slaptest: bad configuration directory!

Bug #300671 reported by Martin Stabenfeldt
2
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)

Upgrade complete

The upgrade is completed but there were errors during the ugprade
process.

*** The package "update-manager" failed to install or upgrade.

You can help the developers to fix the package by reporting the problem.

What would you like to do? Your options are:
  R: Report Problem...
  C: Cancel
Please choose (R/C): R

*** Collecting problem information

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

Package: update-manager 1:0.93.34
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.93.34 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.24-21-generic i686

Revision history for this message
Martin Stabenfeldt (martin-stabenfeldt) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The cause of the failure is
=====
Setting up slapd (2.4.11-0ubuntu6) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.slapd ...
Installing new version of config file /etc/default/slapd ...
Installing new version of config file /etc/init.d/slapd ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.9-0ubuntu0.8.04.1... done.
failed.

Migrating slapd.conf file (/tmp/upgrade_slapd.conf.WhYEB11223) to slapd.d failed with the following error while running slaptest:
    /tmp/upgrade_slapd.conf.WhYEB11223: line 114: rootdn is always granted unlimited privileges.
    /tmp/upgrade_slapd.conf.WhYEB11223: line 131: rootdn is always granted unlimited privileges.
    /tmp/upgrade_slapd.conf.WhYEB11223: line 146: <suffix> Only one suffix is allowed on this hdb backend
    slaptest: bad configuration directory!
dpkg: error processing slapd (--configure):
 subprocess post-installation script returned error exit status
=====

Affecting to openldap

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 300671] [NEW] happend while running do-release-upgrade

Could you post your original slapd.conf file (ie before the upgrade was
done)? You should find in var/backups/slapd-2.4.9-0ubuntu0.8.04.1/. Make
sure to remove private information (such as root password rootpw).

 status incomplete

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Changed in openldap:
status: New → Incomplete
Revision history for this message
Mathias Gug (mathiaz) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Mathias Gug (mathiaz) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in openldap (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.