apparmor: Fix use with directory based OSD's

Ensure that directory based OSD's under /srv/ceph can hard
link when apparmor is in enforce mode. If not, then links go
missing over time and the ceph-osd daemons eventually abort.

Change-Id: I7cc25f5d436204d1f47c9a3a67a15f27c16b7505
Closes-Bug: 1748426
This commit is contained in:
James Page 2018-02-09 11:21:31 +00:00
parent 3728254e8b
commit c4473c2916
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
@{PROC}/loadavg r,
/run/ceph/* rw,
/srv/ceph/** rwk,
/srv/ceph/** rwkl,
/tmp/ r,
/var/lib/ceph/** rwk,
/var/lib/ceph/osd/** l,