Bug 744322 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'destroy' accesses on the shared memory Unknown.
Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'destroy' ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:56fe3da66371be037f8ae0609d8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-07 20:19 UTC by Daniel Ferreira Castro
Modified: 2011-11-23 14:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-23 14:51:35 UTC
Type: ---


Attachments (Terms of Use)

Description Daniel Ferreira Castro 2011-10-07 20:19:01 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc8.git0.1.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'destroy' accesses on the shared memory Unknown.
time:           Fri Oct  7 17:18:49 2011

description:
:SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'destroy' accesses on the shared memory Unknown.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that plugin-container should be allowed destroy access on the Unknown 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 plugin-containe /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:unconfined_r:unconfined_execmem_t:s0-
:                              s0:c0.c1023
:Target Objects                Unknown [ shm ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner-2/plugin-container
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           xulrunner-7.0.1-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-36.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.1.0-0.rc8.git0.1.fc16.x86_64 #1 SMP Tue Oct 4
:                              03:16:40 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 07 Oct 2011 04:21:26 PM BRT
:Last Seen                     Fri 07 Oct 2011 04:21:26 PM BRT
:Local ID                      a134f5f0-4024-4649-8b00-b9ed7310e9a0
:
:Raw Audit Messages
:type=AVC msg=audit(1318015286.14:888): avc:  denied  { destroy } for  pid=16332 comm="plugin-containe" key=-876378888  scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=shm
:
:
:type=SYSCALL msg=audit(1318015286.14:888): arch=x86_64 syscall=shmctl success=no exit=EACCES a0=942006b a1=0 a2=0 a3=7fdcd4dbcdc0 items=0 ppid=16285 pid=16332 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=plugin-containe exe=/usr/lib64/xulrunner-2/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,unconfined_execmem_t,shm,destroy
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t unconfined_execmem_t:shm destroy;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t unconfined_execmem_t:shm destroy;
:

Comment 1 Daniel Walsh 2011-11-23 14:51:35 UTC
Fixed in the current release.


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