Bug 848496 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'create' accesses on the shared memory .
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'create' accesses...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:abf8926a58fc95e3fa20545140a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-15 18:51 UTC by Mikhail
Modified: 2012-08-27 23:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-27 23:03:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2012-08-15 18:51:14 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.1-1.fc17.i686
time:           Чт. 16 авг. 2012 00:50:42

description:
:SELinux is preventing /usr/bin/totem-video-thumbnailer from 'create' accesses on the shared memory .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that totem-video-thumbnailer should be allowed create access on the  shm 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 asfdemux0:sink /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                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
:Target Objects                 [ shm ]
:Source                        asfdemux0:sink
:Source Path                   /usr/bin/totem-video-thumbnailer
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.3-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-145.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.1-1.fc17.i686 #1 SMP Thu Aug 9
:                              18:12:27 UTC 2012 i686 i686
:Alert Count                   61
:First Seen                    2012-08-16 00:50:28 YEKT
:Last Seen                     2012-08-16 00:50:40 YEKT
:Local ID                      cf3344b7-67d0-48df-a915-165e7de88fb8
:
:Raw Audit Messages
:type=AVC msg=audit(1345056640.397:280): avc:  denied  { create } for  pid=24235 comm="asfdemux0:sink" key=-559038737  scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=shm
:
:
:type=SYSCALL msg=audit(1345056640.397:280): arch=i386 syscall=ipc success=no exit=EACCES a0=17 a1=deadbeef a2=400 a3=7a4 items=0 ppid=1212 pid=24235 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=asfdemux0:sink exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
:
:Hash: asfdemux0:sink,thumb_t,thumb_t,shm,create
:
:audit2allow
:
:#============= thumb_t ==============
:allow thumb_t self:shm create;
:
:audit2allow -R
:
:#============= thumb_t ==============
:allow thumb_t self:shm create;
:

Comment 1 Daniel Walsh 2012-08-15 19:16:28 UTC
Miroslav lets back port

18f7a88244de771184733728ec6dd0b366b80282

Comment 2 Mikhail 2012-08-19 16:52:04 UTC
This crash occurs every time when transmission end download torrent

Comment 4 Fedora Update System 2012-08-20 13:09:59 UTC
selinux-policy-3.10.0-146.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-146.fc17

Comment 5 Fedora Update System 2012-08-21 09:50:40 UTC
Package selinux-policy-3.10.0-146.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-146.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12355/selinux-policy-3.10.0-146.fc17
then log in and leave karma (feedback).

Comment 6 Mikhail 2012-08-21 18:28:43 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=850524

$ rpm -q selinux-policy
selinux-policy-3.10.0-146.fc17.noarch

Comment 7 Fedora Update System 2012-08-27 23:03:45 UTC
selinux-policy-3.10.0-146.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.