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:
parent
e4af5b05e0
commit
c2f504c25e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue