virt: Add unix socket for virtlogd/virtlockd
avc: denied { listen } for pid=3236 comm="virtlogd" path="/run/libvirt/virtlogd-sock" scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=0 Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
parent
9fbd5741a4
commit
17f644c625
|
@ -1323,6 +1323,7 @@ kernel_dontaudit_read_system_state(virt_leaseshelper_t)
|
|||
|
||||
allow virtlockd_t self:capability dac_override;
|
||||
allow virtlockd_t self:fifo_file rw_fifo_file_perms;
|
||||
allow virtlockd_t self:unix_stream_socket create_stream_socket_perms;
|
||||
|
||||
allow virtlockd_t virtd_t:dir list_dir_perms;
|
||||
allow virtlockd_t virtd_t:file read_file_perms;
|
||||
|
@ -1362,6 +1363,7 @@ virt_read_config(virtlockd_t)
|
|||
#
|
||||
|
||||
allow virtlogd_t self:fifo_file rw_fifo_file_perms;
|
||||
allow virtlogd_t self:unix_stream_socket create_stream_socket_perms;
|
||||
|
||||
allow virtlogd_t virtd_t:dir list_dir_perms;
|
||||
allow virtlogd_t virtd_t:file read_file_perms;
|
||||
|
|
Loading…
Reference in New Issue