grant rpm permission to map rpm_var_lib_t

type=AVC msg=audit(1560913896.432:218): avc:  denied  { map } for pid=1265 comm="rpm" path="/var/lib/rpm/__db.001" dev="dm-0" ino=2223 scontext=system_u:system_r:rpm_t:s0 tcontext=system_u:object_r:rpm_var_lib_t:s0 tclass=file permissive=1

Signed-off-by: Dave Sugar <dsugar@tresys.com>
This commit is contained in:
Sugar, David 2019-07-02 15:30:29 +00:00 committed by Chris PeBenito
parent e4af5b05e0
commit c2f504c25e
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ files_lock_filetrans(rpm_t, rpm_lock_t, file)
manage_dirs_pattern(rpm_t, rpm_var_lib_t, rpm_var_lib_t)
manage_files_pattern(rpm_t, rpm_var_lib_t, rpm_var_lib_t)
mmap_read_files_pattern(rpm_t, rpm_var_lib_t, rpm_var_lib_t)
files_var_lib_filetrans(rpm_t, rpm_var_lib_t, { dir file })
manage_dirs_pattern(rpm_t, rpm_var_run_t, rpm_var_run_t)