[Bug 1040177] [NEW] slapd install fails when requesting to 'Omit OpenLDAP server configuration"

Paul Boven p.boven at xs4all.nl
Wed Aug 22 16:50:54 UTC 2012


Public bug reported:

Ubuntu slapd package now installs a default DIT. If one doesn't need
this DIT, debconf question "Omit OpenLDAP server configuration?" (at
prio low) gives the option to not install that, but then the package
installation doesn't complete:

Setting up slapd (2.4.28-1.1ubuntu4.1) ...
  Omitting slapd configuration as requested.
 * No configuration file was found for slapd at /etc/ldap/slapd.conf.
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Expected: apt-get install to not give an error when requesting "Omit
OpenLDAP server configuration", and a 'clean' slapd with only the
minimal required cn=config loaded so that it can then be configured as
needed.

# lsb_release -rd
Description:	Ubuntu 12.04.1 LTS
Release:	12.04

#  apt-cache policy slapd
Installed: 2.4.28-1.1ubuntu4.1
Candidate: 2.4.28-1.1ubuntu4.1

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1040177

Title:
  slapd install fails when requesting to 'Omit OpenLDAP server
  configuration"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1040177/+subscriptions



More information about the Ubuntu-server-bugs mailing list