From 142651a8b45e83626756c2649383e238c6905bb1 Mon Sep 17 00:00:00 2001 From: "Sugar, David" Date: Thu, 21 Mar 2019 18:29:27 +0000 Subject: [PATCH] Resolve denial about logging to journal from dbus type=AVC msg=audit(1553013821.597:9897): avc: denied { sendto } for pid=7377 comm="dbus-daemon" path="/dev/log" scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_dgram_socket permissive=1 Signed-off-by: Dave Sugar --- policy/modules/services/dbus.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/services/dbus.te b/policy/modules/services/dbus.te index 24d12c644..fd7e24361 100644 --- a/policy/modules/services/dbus.te +++ b/policy/modules/services/dbus.te @@ -162,6 +162,9 @@ ifdef(`init_systemd', ` # for /run/systemd/dynamic-uid/ init_list_pids(system_dbusd_t) init_read_runtime_symlinks(system_dbusd_t) + + # for journald /dev/log + kernel_dgram_send(system_dbusd_t) ') optional_policy(`