[Bug 1245921] [NEW] postinstaller expects slapd.d to be a directory
Raubvogel
1245921 at bugs.launchpad.net
Tue Oct 29 15:18:35 UTC 2013
Public bug reported:
Related to
https://answers.launchpad.net/ubuntu/+source/openldap/+question/237854
When upgrading slapd, I observed the following:
root at 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-1.1ubuntu4.4) ...
Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.28-1.1ubuntu4.3... cp: cannot overwrite directory `/var/backups/slapd-2.4.28-1.1ubuntu4.3/slapd.d' with non-directory
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 at 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/ldap/slapd). But, why
should it care? There are many ways to copy an alias and expand it in
the process. And, I have not noticed such behaviour before. Did
something change in apt or openldap to make the postinstall annoyed at
the alias?
The proposed solution/workaround worked but it still possible that it
will fail next time.
** 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/1245921
Title:
postinstaller expects slapd.d to be a directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1245921/+subscriptions
More information about the Ubuntu-server-bugs
mailing list