Project

General

Profile

Bug #8241

Denials when libvirt configured via qemu:///system

Added by Lukas Zapletal over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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)

Associated revisions

Revision e2863e47 (diff)
Added by Lukas Zapletal over 4 years ago

Fixes #8241 - added rules for local sockets libvirt connections

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-selinux/pull/40 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 29

#3 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF