slapd apparmor profile needs update for multiple databases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Fix Released
|
Low
|
Mathias Gug |
Bug Description
Binary package hint: slapd
When adding another database (like accesslog, which is provided with the package) there must be a place to store the corresponding bdb files. Traditionally the place is /var/lib/
The below diff corrects this problem so that any directory under /var/lib/ldap can be used by slapd as a bdb directory. This bug is visible in Hardy and Intrepid.
--- usr.sbin.slapd_orig 2008-10-20 15:17:36.000000000 -0500
+++ usr.sbin.slapd 2008-10-20 15:14:11.000000000 -0500
@@ -35,7 +35,7 @@
# the databases and logs
/var/lib/ldap/ r,
- /var/lib/ldap/* rw,
+ /var/lib/ldap/** rwk,
# lock file
/var/
Related branches
Changed in openldap: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in openldap: | |
assignee: | nobody → mathiaz |
status: | Triaged → In Progress |
This bug was fixed in the package openldap - 2.4.15-1ubuntu2
---------------
openldap (2.4.15-1ubuntu2) jaunty; urgency=low
* debian/ slapd.postinst: create /var/run/slapd before updating its apparmor- profile: support multiple databases to be stored under
permissions (LP: #298928).
* debian/slapd.init: Correclty set slapd config backend option even if the
pidfile is configured in slapd default file (LP: #292364).
* debian/
/var/lib/ldap/. (LP: #286614).
-- Mathias Gug <email address hidden> Fri, 13 Mar 2009 13:56:12 -0400