postinstaller expects slapd.d to be a directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Related to https:/
When upgrading slapd, I observed the following:
root@ubuntu:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up slapd (2.4.28-
Backing up /etc/ldap/slapd.d in /var/backups/
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)
root@ubuntu:~#
Now, I take the reason it did not like my /etc/ldap/slapd.d is because it is an alias (/etc/ldap/slapd.d -> /export/
The proposed solution/workaround worked but it still possible that it will fail next time.
Changed in openldap (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Probably an apparmor thing.
/etc/apparmor. d/usr.sbin. slapd