Bug 1055210 - SELinux is preventing /usr/bin/gnome-thumbnail-font from 'write' accesses on the sock_file bumblebee.socket.
Summary: SELinux is preventing /usr/bin/gnome-thumbnail-font from 'write' accesses on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:98dbf626b34d513c9682d3a9985...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-19 15:37 UTC by Zero
Modified: 2014-01-23 11:07 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.12.1-119.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 11:07:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zero 2014-01-19 15:37:25 UTC
Description of problem:
SELinux is preventing /usr/bin/gnome-thumbnail-font from 'write' accesses on the sock_file bumblebee.socket.

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

If you believe that gnome-thumbnail-font should be allowed write access on the bumblebee.socket sock_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 gnome-thumbnail /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:bumblebee_var_run_t:s0
Target Objects                bumblebee.socket [ sock_file ]
Source                        gnome-thumbnail
Source Path                   /usr/bin/gnome-thumbnail-font
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-font-viewer-3.10.0-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-116.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.12.7-300.fc20.x86_64 #1 SMP Fri
                              Jan 10 15:35:31 UTC 2014 x86_64 x86_64
Alert Count                   13
First Seen                    2014-01-17 16:26:02 CET
Last Seen                     2014-01-17 23:25:04 CET
Local ID                      55fa57a4-e966-475d-a0ec-dec22e86d95a

Raw Audit Messages
type=AVC msg=audit(1389997504.700:407): avc:  denied  { write } for  pid=5213 comm="gnome-thumbnail" name="bumblebee.socket" dev="tmpfs" ino=21895 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:bumblebee_var_run_t:s0 tclass=sock_file


type=SYSCALL msg=audit(1389997504.700:407): arch=x86_64 syscall=connect success=no exit=EACCES a0=3 a1=7fffc9602140 a2=6e a3=7fffc9601ee0 items=0 ppid=5075 pid=5213 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=pts0 comm=gnome-thumbnail exe=/usr/bin/gnome-thumbnail-font subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: gnome-thumbnail,thumb_t,bumblebee_var_run_t,sock_file,write

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.12.7-300.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-01-20 07:20:02 UTC
commit 16c9424b866944b9dfc7243fc88268b35d92a3b5
Author: Miroslav Grepl <mgrepl>
Date:   Mon Jan 20 08:19:33 2014 +0100

    gnome-thumbnail to stream connect to bumblebee

Comment 2 Fedora Update System 2014-01-20 22:10:25 UTC
selinux-policy-3.12.1-119.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-119.fc20

Comment 3 Fedora Update System 2014-01-22 03:08:19 UTC
Package selinux-policy-3.12.1-119.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-119.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1249/selinux-policy-3.12.1-119.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-23 11:07:03 UTC
selinux-policy-3.12.1-119.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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