Bug 887612 - SELinux is preventing /usr/bin/gxine from 'read' accesses on the blk_file sr0.
Summary: SELinux is preventing /usr/bin/gxine from 'read' accesses on the blk_file sr0.
Keywords:
Status: CLOSED INSUFFICIENT_DATA
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:acb6711dfae5badf39128f90021...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-16 19:20 UTC by bm_boris
Modified: 2013-07-04 13:32 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-04 13:32:54 UTC
Type: ---
Embargoed:


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

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

description:
:SELinux is preventing /usr/bin/gxine from 'read' accesses on the blk_file sr0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gxine should be allowed read access on the sr0 blk_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                system_u:object_r:removable_device_t:s0
:Target Objects                sr0 [ blk_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:14:00 CST
:Last Seen                     2012-12-16 08:15:01 CST
:Local ID                      533cdeb2-2b2d-41e6-8c3f-e3063069978a
:
:Raw Audit Messages
:type=AVC msg=audit(1355667301.529:785): avc:  denied  { read } for  pid=18658 comm="gxine" name="sr0" dev="devtmpfs" ino=6461 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:removable_device_t:s0 tclass=blk_file
:
:
:type=SYSCALL msg=audit(1355667301.529:785): arch=x86_64 syscall=open success=no exit=EACCES a0=130bf00 a1=80800 a2=7fff7c13a2dc a3=7fff7c13a020 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,removable_device_t,blk_file,read
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t removable_device_t:blk_file read;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t removable_device_t:blk_file read;
:

Comment 1 bm_boris 2012-12-16 19:21:07 UTC
Created attachment 664469 [details]
File: type

Comment 2 bm_boris 2012-12-16 19:21:16 UTC
Created attachment 664470 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-17 11:30:48 UTC
It looks like gxine wants a lot accesses.

You will need to execute

# setsebool -P unconfined_mozilla_plugin_transition 0

I keep this open if Dan has another opinion.

Comment 4 Daniel Walsh 2012-12-17 20:42:58 UTC
What does gxine doing?  Reading a removable disk may or maynot be a big deal.

Comment 5 Fedora End Of Life 2013-07-04 00:54:39 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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