Bug 994811 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'destroy' accesses on the shared memory .
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'destroy' accesse...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:29b55bdac3a7636784363b68caa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-08 04:08 UTC by Rodd Clarkson
Modified: 2013-08-22 00:53 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.12.1-71.fc19
Clone Of:
Environment:
Last Closed: 2013-08-22 00:53:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rodd Clarkson 2013-08-08 04:08:03 UTC
Description of problem:
Just using the system with mpg files.
SELinux is preventing /usr/bin/totem-video-thumbnailer from 'destroy' accesses on the shared memory .

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

If you believe that totem-video-thumbnailer should be allowed destroy 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 multiqueue0:src /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:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                 [ shm ]
Source                        multiqueue0:src
Source Path                   /usr/bin/totem-video-thumbnailer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           totem-3.8.2-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-69.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.10.4-300.fc19.x86_64 #1 SMP Tue
                              Jul 30 11:29:05 UTC 2013 x86_64 x86_64
Alert Count                   12
First Seen                    2013-08-08 13:51:18 EST
Last Seen                     2013-08-08 13:51:59 EST
Local ID                      bcef6670-37ef-414b-a86c-bb2403dc0b14

Raw Audit Messages
type=AVC msg=audit(1375933919.134:987): avc:  denied  { destroy } for  pid=18094 comm="multiqueue0:src" key=-559038737  scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=shm


type=SYSCALL msg=audit(1375933919.134:987): arch=x86_64 syscall=shmctl success=no exit=EACCES a0=2360008 a1=0 a2=0 a3=1 items=0 ppid=16459 pid=18094 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=multiqueue0:src exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: multiqueue0:src,thumb_t,unconfined_t,shm,destroy

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.4-300.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-08-08 12:11:31 UTC
commit 1f9f430621c18f0fad8a3b03e43ded8a943bfdb9
Author: Miroslav Grepl <mgrepl>
Date:   Thu Aug 8 14:09:47 2013 +0200

    Fix thumb_run()

Comment 2 Fedora Update System 2013-08-20 08:27:00 UTC
selinux-policy-3.12.1-71.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-71.fc19

Comment 3 Fedora Update System 2013-08-21 00:15:57 UTC
Package selinux-policy-3.12.1-71.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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-71.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15088/selinux-policy-3.12.1-71.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-08-22 00:53:54 UTC
selinux-policy-3.12.1-71.fc19 has been pushed to the Fedora 19 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.