← Back to team overview

touch-packages team mailing list archive

[Bug 1309768] Re: package slapd 2.4.28-1.1ubuntu4.4 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 1

 

Hello,

This appears to have been related to the smbkrb5pwd overlay (which I
would note is not packaged in Ubuntu):

Preparing to replace slapd 2.4.28-1.1ubuntu4.4 (using .../slapd_2.4.31-1+nmu2ubuntu8_amd64.deb) ...
 * Stopping OpenLDAP slapd
   ...done.
  Dumping to /var/backups/slapd-2.4.28-1.1ubuntu4.4:
  - directory dc=paravis,dc=net... 53519a59 smbkrb5pwd: unable to find "sambaSamAccount" objectClass.
53519a59 config error processing olcOverlay={1}smbkrb5pwd,olcDatabase={1}hdb,cn=config: <olcSmbKrb5PwdEnable> handler exited with 1
slapcat: bad configuration directory!
failed.

After that, for some reason the second half of the script doesn't
actually attempt to load any backed-up databases, but the logs don't
show why. (It should be looking at the same configs as the dump stage
did.)

I know this was a long time ago, but if you still have the setup where
this happened, it would be interesting to see the configuration that
caused it. (output from 'slapcat -n0', with sensitive information such
as password hashes removed.)

** Changed in: openldap (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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/1309768

Title:
  package slapd 2.4.28-1.1ubuntu4.4 failed to install/upgrade:
  ErrorMessage: subprocess new pre-installation script returned error
  exit status 1

Status in openldap package in Ubuntu:
  Incomplete

Bug description:
  This happened doing "do-release-upgrade -d" from 12.04.4 -> 14.04.  I
  believe it is from the fact that I am running multiple LDAP databases.
  Don't have any other information other than that.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: slapd 2.4.28-1.1ubuntu4.4
  ProcVersionSignature: Ubuntu 3.11.0-19.33~precise1-generic 3.11.10.5
  Uname: Linux 3.11.0-19-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Fri Apr 18 14:35:10 2014
  ErrorMessage: ErrorMessage: subprocess new pre-installation script returned error exit status 1
  InstallationMedia: Ubuntu-Server 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
  MarkForUpload: True
  SourcePackage: openldap
  Title: package slapd 2.4.28-1.1ubuntu4.4 failed to install/upgrade: ErrorMessage: subprocess new pre-installation script returned error exit status 1
  UpgradeStatus: Upgraded to trusty on 2014-04-18 (0 days ago)

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