Bug 1221907 - SELinux is preventing qemu-system-x86 from 'open' accesses on the file /dev/shm/lttng-ust-wait-5-1000.
Summary: SELinux is preventing qemu-system-x86 from 'open' accesses on the file /dev/s...
Keywords:
Status: CLOSED DUPLICATE of bug 1145081
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7e75f46e88f6e46a85e26ceb20f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 08:36 UTC by Alexander Kurtakov
Modified: 2015-05-18 08:01 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-18 08:01:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander Kurtakov 2015-05-15 08:36:02 UTC
Description of problem:
SELinux is preventing qemu-system-x86 from 'open' accesses on the file /dev/shm/lttng-ust-wait-5-1000.

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

If you believe that qemu-system-x86 should be allowed open access on the lttng-ust-wait-5-1000 file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep qemu-system-x86 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:svirt_t:s0:c628,c980
Target Context                unconfined_u:object_r:user_tmp_t:s0
Target Objects                /dev/shm/lttng-ust-wait-5-1000 [ file ]
Source                        qemu-system-x86
Source Path                   qemu-system-x86
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-126.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.3-300.fc22.x86_64 #1 SMP Wed
                              May 13 18:43:52 UTC 2015 x86_64 x86_64
Alert Count                   7
First Seen                    2015-05-15 11:35:03 EEST
Last Seen                     2015-05-15 11:35:28 EEST
Local ID                      4d5f0936-6bdc-4d26-8290-e72cbed9dbfa

Raw Audit Messages
type=AVC msg=audit(1431678928.723:562): avc:  denied  { open } for  pid=4620 comm="qemu-system-x86" path="/dev/shm/lttng-ust-wait-5-1000" dev="tmpfs" ino=52418 scontext=unconfined_u:unconfined_r:svirt_t:s0:c628,c980 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0


Hash: qemu-system-x86,svirt_t,user_tmp_t,file,open

Version-Release number of selected component:
selinux-policy-3.13.1-126.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.0.3-300.fc22.x86_64
type:           libreport

Potential duplicate: bug 1145081

Comment 1 Miroslav Grepl 2015-05-18 08:01:05 UTC

*** This bug has been marked as a duplicate of bug 1145081 ***


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