slapd fails to stop if /etc/ldap/slapd.d/cn=config.ldif is deleted but /etc/ldap/slapd.d still exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Debian) |
New
|
Unknown
|
|||
openldap (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
after i install slapd and remove it's one of folders, couldnt do apt-get ugrade. It said problem about header
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: slapd 2.4.31-
ProcVersionSign
Uname: Linux 3.13.0-95-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.23
AptOrdering:
ldap-utils: Remove
slapd: Remove
Architecture: amd64
Date: Tue Jul 4 15:22:00 2017
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
DpkgHistoryLog:
Start-Date: 2017-07-04 15:21:46
Commandline: apt-get remove slapd ldap-utils
Remove: ldap-utils:amd64 (2.4.31-
DuplicateSignature: package:
ErrorMessage: subprocess installed pre-removal script returned error exit status 2
InstallationDate: Installed on 2015-06-03 (761 days ago)
InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25
RelatedPackageV
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.17
SourcePackage: openldap
Title: package slapd 2.4.31-
UpgradeStatus: Upgraded to trusty on 2016-05-30 (400 days ago)
tags: | removed: need-duplicate-check |
Changed in openldap (Debian): | |
status: | Unknown → New |
Hello,
Since you deleted all the contents out of the /etc/ldap/slapd.d folder, please delete that folder as well, then the uninstallation will proceed.
The init script could probably be more resilient about this.