← Back to team overview

touch-packages team mailing list archive

[Bug 632051] Re: Improve slapd postinst error message in case database directory can't be determined for a given LDAP suffix

 

** Changed in: openldap (Ubuntu)
     Assignee: (unassigned) => Ryan Tandy (rtandy)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/632051

Title:
  Improve slapd postinst error message in case database directory can't
  be determined for a given LDAP suffix

Status in “openldap” package in Ubuntu:
  Triaged

Bug description:
  Bug is due to buggy configuration, but we could have a better error
  message. See comment 5 for details.

  Original description:
  When doing a apt-get dist-upgrade going from  slapd_2.4.15-1ubuntu3_amd64.deb to slapd_2.4.15-1ubuntu3.1_amd64.deb
  I get the following output:
  batch@work-isp:/tmp$ sudo apt-get dist-upgrade
  [sudo] password for batch:
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0B of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Setting up slapd (2.4.15-1ubuntu3.1) ...
    Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.15-1ubuntu3... done.
  chown: invalid argument: `'
  dpkg: error processing slapd (--configure):
   subprocess 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)

  output of lsb_release -rd:
  batch@work-isp:/tmp$ lsb_release -rd
  Description:	Ubuntu 9.04
  Release:	9.04

  output of apt-cache policy slapd:
  batch@work-isp:/tmp$ apt-cache policy slapd
  slapd:
    Installed: 2.4.15-1ubuntu3.1
    Candidate: 2.4.15-1ubuntu3.1
    Version table:
   *** 2.4.15-1ubuntu3.1 0
          500 http://us.archive.ubuntu.com jaunty-updates/main Packages
          500 http://security.ubuntu.com jaunty-security/main Packages
          100 /var/lib/dpkg/status
       2.4.15-1ubuntu3 0
          500 http://us.archive.ubuntu.com jaunty/main Packages

  I except the package to install without error.

  The package did not install correct leaves the sysem with
  1 not fully installed or removed

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