Actions
Bug #8241
closedDenials when libvirt configured via qemu:///system
Description
type=SYSCALL msg=audit(11/03/2014 07:29:59.633:1526) : arch=x86_64 syscall=connect success=yes exit=0 a0=0xc a1=0x7f844e75d1a0 a2=0x6e a3=0x7f844e75cee0 items=0 ppid=1 pid=10234 auid=unset uid=foreman gid=foreman euid=foreman suid=foreman fsuid=foreman egid=foreman sgid=foreman fsgid=foreman tty=(none) ses=unset comm=ruby exe=/opt/rh/ruby193/root/usr/bin/ruby subj=system_u:system_r:passenger_t:s0 key=(null) type=AVC msg=audit(11/03/2014 07:29:59.633:1526) : avc: denied { write } for pid=10234 comm=ruby name=libvirt-sock dev=vda3 ino=40610 scontext=system_u:system_r:passenger_t:s0 tcontext=unconfined_u:object_r:virt_var_run_t:s0 tclass=sock_file type=AVC msg=audit(11/03/2014 07:29:59.633:1526) : avc: denied { search } for pid=10234 comm=ruby name=libvirt dev=vda3 ino=50042 scontext=system_u:system_r:passenger_t:s0 tcontext=unconfined_u:object_r:virt_var_run_t:s0 tclass=dir ---- type=SYSCALL msg=audit(11/03/2014 07:29:59.633:1525) : arch=x86_64 syscall=stat success=yes exit=0 a0=0x3c731dda31 a1=0x7f844e75d280 a2=0x7f844e75d280 a3=0x7f844e75d000 items=0 ppid=1 pid=10234 auid=unset uid=foreman gid=foreman euid=foreman suid=foreman fsuid=foreman egid=foreman sgid=foreman fsgid=foreman tty=(none) ses=unset comm=ruby exe=/opt/rh/ruby193/root/usr/bin/ruby subj=system_u:system_r:passenger_t:s0 key=(null) type=AVC msg=audit(11/03/2014 07:29:59.633:1525) : avc: denied { getattr } for pid=10234 comm=ruby path=/usr/sbin/libvirtd dev=vda3 ino=169371 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:virtd_exec_t:s0 tclass=file
Rules needed:
virt_getattr_exec(passenger_t)
virt_read_pid_symlinks(passenger_t)
virt_stream_connect(passenger_t)
Actions