Dist-Upgrade Karmic->Lucid: Upgrading slapd fails with "chown: invalid argument: `'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: slapd
Upgrading the system from Karmic Koala to Lucid Lynx. While upgrading, the installation of the new package for slapd fails. I couldn't fetch the original messages while upgrading, but afterwards by doing a 'aptitude -f install' the following appears:
root@srv-tresa:~# aptitude -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
slapd
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up slapd (2.4.21-0ubuntu5) ...
Backing up /etc/ldap/
chown: invalid argument: `'
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)
A package failed to install. Trying to recover:
Setting up slapd (2.4.21-0ubuntu5) ...
Backing up /etc/ldap/
chown: invalid argument: `'
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: slapd 2.4.21-0ubuntu5
ProcVersionSign
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Mon May 3 15:21:42 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openldap
Changed in openldap (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in openldap (Ubuntu): | |
importance: | Undecided → Medium |
The slapd.postinst script attempts to ensure that various files and directories have the proper ownerships (and permissions) set. It looks like it may be having trouble extracting the correct list of directories in your case.
Can you post the output of the following command (run as root)?
grep -E "^(include| database| suffix| directory) " /etc/ldap/ slapd.conf
Hopefully that will give some hint as to what is causing the confusion.