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 <dsugar@tresys.com>
This commit is contained in:
parent
5f14e530ad
commit
142651a8b4
@ -162,6 +162,9 @@ ifdef(`init_systemd', `
|
|||||||
# for /run/systemd/dynamic-uid/
|
# for /run/systemd/dynamic-uid/
|
||||||
init_list_pids(system_dbusd_t)
|
init_list_pids(system_dbusd_t)
|
||||||
init_read_runtime_symlinks(system_dbusd_t)
|
init_read_runtime_symlinks(system_dbusd_t)
|
||||||
|
|
||||||
|
# for journald /dev/log
|
||||||
|
kernel_dgram_send(system_dbusd_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
Loading…
Reference in New Issue
Block a user