Bug 851761 - SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'create' accesses on the shared memory .
SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'cr...
Status: CLOSED DUPLICATE of bug 851742
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-08-25 07:21 EDT by bobpoljakov
Modified: 2012-08-27 05:48 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-27 05:48:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description bobpoljakov 2012-08-25 07:21:49 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.2-3.fc17.x86_64
time:           Sat 25 Aug 2012 01:21:14 PM CEST

:SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'create' accesses on the shared memory .
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that gst-plugin-scanner 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.
:allow this access for now by executing:
:# grep gst-plugin-scan /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                        gst-plugin-scan
:Source Path                   /usr/libexec/gstreamer-0.10/gst-plugin-scanner
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.3-1.fc17.x86_64
: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.2-3.fc17.x86_64 #1 SMP Tue Aug
:                              21 19:06:52 UTC 2012 x86_64 x86_64
:Alert Count                   7
:First Seen                    2012-08-25 11:37:59 CEST
:Last Seen                     2012-08-25 11:38:07 CEST
:Local ID                      28b91b02-c53b-49be-ba6f-be0d3fa9cfaf
:Raw Audit Messages
:type=AVC msg=audit(1345887487.95:74): avc:  denied  { create } for  pid=1664 comm="matroskademux0:" 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(1345887487.95:74): arch=x86_64 syscall=shmget success=no exit=EACCES a0=deadbeef a1=400 a2=7a4 a3=4 items=0 ppid=1544 pid=1664 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=matroskademux0: exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
:Hash: gst-plugin-scan,thumb_t,thumb_t,shm,create
:#============= thumb_t ==============
:allow thumb_t self:shm create;
:audit2allow -R
:#============= thumb_t ==============
:allow thumb_t self:shm create;
Comment 1 Miroslav Grepl 2012-08-27 05:48:28 EDT

*** This bug has been marked as a duplicate of bug 851742 ***

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