Allow ceph-osd to create temporary links within OSD's filesystem

AppArmor profile prevents link operation within /var/lib/ceph/osd/*.
This leads to daemon coredump. This patch ensures ceph-osd
is able to create links.

Change-Id: Ia03baac0fec7f134f53254b18e5498a87656817f
Closes-Bug: #1677470
This commit is contained in:
Ante Karamatic 2017-03-30 14:40:26 +08:00
parent 42b71274d6
commit 8fdffe7bac
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
/srv/ceph/** rwk,
/tmp/ r,
/var/lib/ceph/** rwk,
/var/lib/ceph/osd/** l,
/var/lib/charm/*/ceph.conf r,
/var/log/ceph/* rwk,
/var/run/ceph/* rwk,