From 57b29111318880eb60e2fed57b7117e87b6ece24 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Mon, 8 Aug 2022 17:46:46 +0200 Subject: [PATCH] Allow pmdalinux read files on an nfsd filesystem Reference: https://gitbub.com/fedora-selinux/selinux-policy/commit/57b29111318880eb60e2fed57b7117e87b6ece24 Conflict: NA Addresses the following AVC denial: type=AVC msg=audit(1659885488.520:327): avc: denied { search } for pid=1394 comm="pmdalinux" name="/" dev="nfsd" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:nfsd_fs_t:s0 tclass=dir permissive=1 Resolves: rhbz#2116153 Signed-off-by: lujie54 --- policy/modules/contrib/pcp.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/pcp.te b/policy/modules/contrib/pcp.te index c10717d..66200d4 100644 --- a/policy/modules/contrib/pcp.te +++ b/policy/modules/contrib/pcp.te @@ -145,6 +145,7 @@ fs_getattr_all_fs(pcp_pmcd_t) fs_getattr_all_dirs(pcp_pmcd_t) fs_list_cgroup_dirs(pcp_pmcd_t) fs_read_cgroup_files(pcp_pmcd_t) +fs_read_nfsd_files(pcp_pmcd_t) init_read_utmp(pcp_pmcd_t) -- 1.8.3.1