From: Laurent Bigonville <bigon@xxxxxxxx> ---- time->Sat Oct 5 13:11:40 2019 type=AVC msg=audit(1570273900.483:148): avc: denied { open } for pid=1382 comm="realmd" path="/etc/locale.alias" dev="dm-1" ino=1047048 scontext=system_u:system_r:realmd_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file permissive=1 type=AVC msg=audit(1570273900.483:148): avc: denied { read } for pid=1382 comm="realmd" name="locale.alias" dev="dm-1" ino=1047048 scontext=system_u:system_r:realmd_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file permissive=1 type=AVC msg=audit(1570273900.483:148): avc: denied { read } for pid=1382 comm="realmd" name="locale.alias" dev="dm-1" ino=262415 scontext=system_u:system_r:realmd_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=lnk_file permissive=1 type=AVC msg=audit(1570273900.483:148): avc: denied { search } for pid=1382 comm="realmd" name="locale" dev="dm-1" ino=262056 scontext=system_u:system_r:realmd_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=dir permissive=1 ---- time->Sat Oct 5 13:11:40 2019 type=AVC msg=audit(1570273900.483:149): avc: denied { getattr } for pid=1382 comm="realmd" path="/etc/locale.alias" dev="dm-1" ino=1047048 scontext=system_u:system_r:realmd_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file permissive=1 ---- Signed-off-by: Laurent Bigonville <bigon@xxxxxxxx> --- policy/modules/services/realmd.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/services/realmd.te b/policy/modules/services/realmd.te index 5bc878b2..841b02a4 100644 --- a/policy/modules/services/realmd.te +++ b/policy/modules/services/realmd.te @@ -44,6 +44,9 @@ auth_use_nsswitch(realmd_t) logging_send_syslog_msg(realmd_t) +# Read /etc/locale.alias +miscfiles_read_localization(realmd_t) + optional_policy(` dbus_system_domain(realmd_t, realmd_exec_t) -- 2.23.0