Bug 744322

Summary: SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'destroy' accesses on the shared memory Unknown.
Product: [Fedora] Fedora Reporter: Daniel Ferreira Castro <dfcastro>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:56fe3da66371be037f8ae0609d8037932d55d744063e3f63d371bddd00c1f6bf
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-23 14:51:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.