Kolab setup needs to change slapd apparmor profile
Bug #357060 reported by
Stefan Hamminga
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: kolabd
after installing the kolabd packages, including slapd, on Ubuntu Server i386 Jaunty (2009-04-6-7) I needed to run 'kolab_bootstrap -b' to generate a default config. This failes with a message containing '/etc/kolab/
After checking all permissions I found out slapd is protected with Apparmor and the '/etc/kolab/' directory was not present in the allowed list. Adding it indeed enabled kolab_bootstrap to continue.
affects: | kolabd (Ubuntu) → openldap (Ubuntu) |
Changed in openldap (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in openldap (Ubuntu): | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
Workaround (quoted from http:// kolab.org/ pipermail/ kolab-users/ 2008-May/ 007953. html)
Edit /etc/apparmor. d/usr.sbin. slapd and add
the following lines:
/usr/share/ kolabd/ schema/ r, kolabd/ schema/ * r,
/usr/share/
/etc/kolab/ r,
/etc/kolab/* r,