Improve slapd postinst error message in case database directory can't be determined for a given LDAP suffix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Triaged
|
Wishlist
|
Ryan Tandy |
Bug Description
Bug is due to buggy configuration, but we could have a better error message. See comment 5 for details.
Original description:
When doing a apt-get dist-upgrade going from slapd_2.
I get the following output:
batch@work-
[sudo] password for batch:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up slapd (2.4.15-1ubuntu3.1) ...
Backing up /etc/ldap/
chown: invalid argument: `'
dpkg: error processing slapd (--configure):
subprocess 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)
output of lsb_release -rd:
batch@work-
Description: Ubuntu 9.04
Release: 9.04
output of apt-cache policy slapd:
batch@work-
slapd:
Installed: 2.4.15-1ubuntu3.1
Candidate: 2.4.15-1ubuntu3.1
Version table:
*** 2.4.15-1ubuntu3.1 0
500 http://
500 http://
100 /var/lib/
2.
500 http://
I except the package to install without error.
The package did not install correct leaves the sysem with
1 not fully installed or removed
visibility: | private → public |
Changed in openldap (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
summary: |
- slapd dist-upgrade chown: invalid argument: `' + Improve error message in case suffix is incorrect |
description: | updated |
Changed in openldap (Ubuntu): | |
importance: | Low → Wishlist |
status: | Incomplete → Triaged |
description: | updated |
summary: |
- Improve error message in case suffix is incorrect + Improve slapd postinst error message in case database directory can't be + determined for a given LDAP suffix |
Changed in openldap (Ubuntu): | |
assignee: | nobody → Ryan Tandy (rtandy) |
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.