[Bug 1452087] Re: slapd [or its init script] does not create necessary directory for nssov socket and fails to start

Ryan Tandy 1452087 at bugs.launchpad.net
Wed May 6 02:35:41 UTC 2015


IIRC slapd does try to create the directory, but it's already switched
users by that point, so doesn't have sufficient privileges.

http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/vivid/openldap/vivid/view/head:/contrib/slapd-
modules/nssov/nssov.c#L808

I don't know whether the overlay has a way to run code before switching
permissions. Might be worth filing an ITS about, as this really should
work. Otherwise, the init script is probably the most reasonable place
to do it; but only if nssov is actually being used.

(apparmor may also be involved as pmatulis suggests. I didn't check.)

-- 
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/1452087

Title:
  slapd [or its init script] does not create necessary directory for
  nssov socket and fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1452087/+subscriptions



More information about the Ubuntu-server-bugs mailing list