aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/services/drbd.fc')
-rw-r--r--policy/modules/services/drbd.fc13
1 files changed, 13 insertions, 0 deletions
diff --git a/policy/modules/services/drbd.fc b/policy/modules/services/drbd.fc
new file mode 100644
index 00000000..3b7da568
--- /dev/null
+++ b/policy/modules/services/drbd.fc
@@ -0,0 +1,13 @@
+/etc/rc\.d/init\.d/drbd -- gen_context(system_u:object_r:drbd_initrc_exec_t,s0)
+
+/usr/bin/drbdadm -- gen_context(system_u:object_r:drbd_exec_t,s0)
+/usr/bin/drbdsetup -- gen_context(system_u:object_r:drbd_exec_t,s0)
+
+/usr/lib/ocf/resource.\d/linbit/drbd -- gen_context(system_u:object_r:drbd_exec_t,s0)
+
+/usr/sbin/drbdadm -- gen_context(system_u:object_r:drbd_exec_t,s0)
+/usr/sbin/drbdsetup -- gen_context(system_u:object_r:drbd_exec_t,s0)
+
+/var/lib/drbd(/.*)? gen_context(system_u:object_r:drbd_var_lib_t,s0)
+
+/var/lock/subsys/drbd -- gen_context(system_u:object_r:drbd_lock_t,s0)