Bug 1461972 - SELinux is preventing qemu-system-x86 from 'search' accesses on the directory 2185.
SELinux is preventing qemu-system-x86 from 'search' accesses on the directory...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-06-15 15:06 EDT by Francisco de la Peña
Modified: 2017-06-15 15:06 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Francisco de la Peña 2017-06-15 15:06:48 EDT
Description of problem:
SELinux is preventing qemu-system-x86 from 'search' accesses on the directory 2185.

*****  Plugin catchall (100. confidence) suggests   **************************

If cree que de manera predeterminada, qemu-system-x86 debería permitir acceso search sobre 2185 directory.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
allow this access for now by executing:
# ausearch -c 'qemu-system-x86' --raw | audit2allow -M my-qemusystemx86
# semodule -X 300 -i my-qemusystemx86.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:svirt_tcg_t:s0:c304,c849
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
Target Objects                2185 [ dir ]
Source                        qemu-system-x86
Source Path                   qemu-system-x86
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-257.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.5-300.fc26.x86_64 #1 SMP Wed
                              Jun 14 19:16:35 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-06-15 13:05:00 CST
Last Seen                     2017-06-15 13:05:00 CST
Local ID                      ddbe6a58-d05d-433e-bb78-c86bf99d03d2

Raw Audit Messages
type=AVC msg=audit(1497553500.624:262): avc:  denied  { search } for  pid=2472 comm="qemu-system-x86" name="2185" dev="proc" ino=37336 scontext=unconfined_u:unconfined_r:svirt_tcg_t:s0:c304,c849 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir permissive=0

Hash: qemu-system-x86,svirt_tcg_t,unconfined_t,dir,search

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.5-300.fc26.x86_64
type:           libreport

Note You need to log in before you can comment on or make changes to this bug.