rpc: fix not labeling exports.d directory

Fix the filecon for /etc/exports.d to also label the directory itself.

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
Kenton Groombridge 2024-01-12 20:20:14 -05:00 committed by 0xC0ncord
parent f0fc6cd236
commit 6d5271cb18
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/etc/exports -- gen_context(system_u:object_r:exports_t,s0)
/etc/exports\.d(/.*)? -- gen_context(system_u:object_r:exports_t,s0)
/etc/exports\.d(/.*)? gen_context(system_u:object_r:exports_t,s0)
/etc/rc\.d/init\.d/nfs -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0)
/etc/rc\.d/init\.d/nfslock -- gen_context(system_u:object_r:rpcd_initrc_exec_t,s0)