Re: [PATCH 4/5] Allow rpm to map file contexts

Chris PeBenito <[email protected]>
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On 7/2/19 11:30 AM, Sugar, David wrote:
> type=AVC msg=audit(1560944465.365:270): avc:  denied  { map } for pid=1265 comm="rpm" path="/etc/selinux/clip/contexts/files/file_contexts.bin" dev="dm-0" ino=44911 scontext=system_u:system_r:rpm_t:s0 tcontext=system_u:object_r:file_context_t:s0 tclass=file permissive=1
> 
> Signed-off-by: Dave Sugar <[email protected]>
> ---
>   policy/modules/admin/rpm.te | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/policy/modules/admin/rpm.te b/policy/modules/admin/rpm.te
> index 7020276c..111fcb01 100644
> --- a/policy/modules/admin/rpm.te
> +++ b/policy/modules/admin/rpm.te
> @@ -211,6 +211,7 @@ miscfiles_read_localization(rpm_t)
>   
>   seutil_manage_src_policy(rpm_t)
>   seutil_manage_bin_policy(rpm_t)
> +seutil_read_file_contexts(rpm_t)
>   
>   userdom_use_user_terminals(rpm_t)
>   userdom_use_unpriv_users_fds(rpm_t)

Merged.

-- 
Chris PeBenito
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.