[Bug 574474] Re: Dist-Upgrade Karmic->Lucid: Upgrading slapd fails with "chown: invalid argument: `'"
Nathan Stratton Treadway
ubuntu.lp at nathanst.com
Tue May 4 18:24:21 BST 2010
Yes, I think that explains why you are getting the "chown: invalid
argument `'" error....
Specifically, when the slapd.postinst parses through the slapd.conf
file, it attempts to process "include"d files... but it assumes that the
"database", "suffix", and "directory" lines for a particular database
are all found in the same file.
So in your case, it looks through all the files and find a "suffix" line (i.e. presumably one found in "suffix.include"), but then when it goes to look up what directory that suffix was tied to, it isn't able to associate that suffix with the "directory" line found there in your "slapd.conf" file. (This in turn means that it ends up calling chown with an empty FILE argument, e.g.
chown openldap ""
, which then generates the error message you see).
In the short run, since your database files do already have the correct
permissions, you can probably work around this dpkg error by commenting
out the "update_databases_permissions" line in slapd.postinst (its line
670 in the script for slapd 2.4.21-0ubuntu5), and then running "dpkg
--configure" again.
Obviously you will be likely to have the same problem again the next
time slapd is upgraded... but I don't know if there will be any easy fix
for that, given the general move away from slapd.conf-style
configuration....
--
Dist-Upgrade Karmic->Lucid: Upgrading slapd fails with "chown: invalid argument: `'"
https://bugs.launchpad.net/bugs/574474
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
More information about the Ubuntu-server-bugs
mailing list