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 <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2019-08-22 21:49:28 +02:00
parent 230262368b
commit 6875a1b0a5
No known key found for this signature in database
GPG Key ID: C191415F340DAAA0
1 changed files with 0 additions and 1 deletions

View File

@ -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)