From d938683bf47c93288993e6d7d138b24f8ef1f434 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Wed, 21 Aug 2019 23:03:01 +0200 Subject: [PATCH] drbd: fix pattern for /usr/lib/ocf/resource.d/linbit/drbd In order to match /usr/lib/ocf/resource.d/linbit/drbd, the dot needs to be escaped, not the d. Signed-off-by: Nicolas Iooss --- policy/modules/services/drbd.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/drbd.fc b/policy/modules/services/drbd.fc index 3b7da5684..7abf0d05f 100644 --- a/policy/modules/services/drbd.fc +++ b/policy/modules/services/drbd.fc @@ -3,7 +3,7 @@ /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/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)