From 6875a1b0a58a640807b3d8af0c4321d744261b32 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Thu, 22 Aug 2019 21:49:28 +0200 Subject: [PATCH] rpcbind: remove redundant file context for /run/rpc.statd.pid There are two patterns that define file contexts for /run/rpc.statd.pid: * in policy/modules/services/rpcbind.fc: /run/rpc.statd\.pid -- gen_context(system_u:object_r:rpcbind_var_run_t,s0) * in policy/modules/services/rpc.dc: /run/rpc\.statd\.pid -- gen_context(system_u:object_r:rpcd_var_run_t,s0) They coexist even though their labels differ because the first one uses a unescaped dot. As it does not seem to exist other files matching the first pattern, remove it in order to only keep the second one. Signed-off-by: Nicolas Iooss --- policy/modules/services/rpcbind.fc | 1 - 1 file changed, 1 deletion(-) diff --git a/policy/modules/services/rpcbind.fc b/policy/modules/services/rpcbind.fc index afba9b291..63c3027ef 100644 --- a/policy/modules/services/rpcbind.fc +++ b/policy/modules/services/rpcbind.fc @@ -8,5 +8,4 @@ /var/lib/rpcbind(/.*)? gen_context(system_u:object_r:rpcbind_var_lib_t,s0) -/run/rpc.statd\.pid -- gen_context(system_u:object_r:rpcbind_var_run_t,s0) /run/rpcbind.* gen_context(system_u:object_r:rpcbind_var_run_t,s0)