Bug 887632 - SELinux is preventing /usr/bin/gxine from 'unlink' accesses on the sock_file /home/brandon0/.config/gxine/socket.
Summary: SELinux is preventing /usr/bin/gxine from 'unlink' accesses on the sock_file ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ac3897e82541fde6ca22e78d746...
: 887635 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-16 20:53 UTC by bm_boris
Modified: 2013-01-07 04:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-07 04:04:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-16 20:53 UTC, bm_boris
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-16 20:53 UTC, bm_boris
no flags Details

Description bm_boris 2012-12-16 20:53:15 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.9-2.fc17.x86_64

description:
:SELinux is preventing /usr/bin/gxine from 'unlink' accesses on the sock_file /home/brandon0/.config/gxine/socket.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gxine should be allowed unlink access on the 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 gxine /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:config_home_t:s0
:Target Objects                /home/brandon0/.config/gxine/socket [ sock_file ]
:Source                        gxine
:Source Path                   /usr/bin/gxine
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           gxine-0.5.907-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec
:                              4 13:26:04 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-12-16 08:13:50 CST
:Last Seen                     2012-12-16 08:14:59 CST
:Local ID                      89490900-5988-4e98-93f6-017e85fce6ca
:
:Raw Audit Messages
:type=AVC msg=audit(1355667299.950:782): avc:  denied  { unlink } for  pid=18658 comm="gxine" name="socket" dev="dm-3" ino=11667783 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=sock_file
:
:
:type=SYSCALL msg=audit(1355667299.950:782): arch=x86_64 syscall=unlink success=no exit=EACCES a0=14b4340 a1=1 a2=0 a3=0 items=0 ppid=1 pid=18658 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=gxine exe=/usr/bin/gxine subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: gxine,mozilla_plugin_t,config_home_t,sock_file,unlink
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t config_home_t:sock_file unlink;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t config_home_t:sock_file unlink;
:

Comment 1 bm_boris 2012-12-16 20:53:21 UTC
Created attachment 664531 [details]
File: type

Comment 2 bm_boris 2012-12-16 20:53:26 UTC
Created attachment 664532 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-17 09:02:31 UTC
*** Bug 887635 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-12-17 09:17:22 UTC
Added.

commit 94e5db0fa5552e5f36461a10683b29dbf907f6f6
Author: Miroslav Grepl <mgrepl>
Date:   Mon Dec 17 10:16:02 2012 +0100

    Fix gnome_manage_config() to allow to manage sock_file

Comment 5 Fedora Update System 2012-12-17 18:44:58 UTC
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17

Comment 6 Fedora Update System 2012-12-18 02:41:28 UTC
Package selinux-policy-3.10.0-165.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-165.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-05 06:46:33 UTC
Package selinux-policy-3.10.0-166.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-166.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-01-07 04:05:00 UTC
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 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.