Bug 752147 - SELinux is preventing /usr/bin/perl from 'create' accesses on the shared memory Unknown.
Summary: SELinux is preventing /usr/bin/perl from 'create' accesses on the shared memo...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fe21c3118de...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-08 16:41 UTC by geminic86
Modified: 2012-08-16 14:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 14:42:23 UTC
Type: ---


Attachments (Terms of Use)

Description geminic86 2011-11-08 16:41:21 UTC
SELinux is preventing /usr/bin/perl from 'create' accesses on the shared memory Unknown.

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

If you believe that perl should be allowed create 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 mysql_innodb_bp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:services_munin_plugin_t:SystemLo
                              w
Target Context                system_u:system_r:services_munin_plugin_t:SystemLo
                              w
Target Objects                Unknown [ shm ]
Source                        mysql_innodb_bp
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.12.4-147.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-46.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.14-103.fc14.i686 #1 SMP Thu
                              Oct 27 16:15:52 UTC 2011 i686 i686
Alert Count                   69
First Seen                    Wed 02 Nov 2011 04:11:01 AM EDT
Last Seen                     Fri 04 Nov 2011 01:41:50 AM EDT
Local ID                      fa3f8eb0-a649-4301-a1e5-d89c03570845

Raw Audit Messages
type=AVC msg=audit(1320385310.330:56): avc:  denied  { create } for  pid=4362 comm="mysql_qcache_me" key=1667461225  scontext=system_u:system_r:services_munin_plugin_t:s0 tcontext=system_u:system_r:services_munin_plugin_t:s0 tclass=shm


type=SYSCALL msg=audit(1320385310.330:56): arch=i386 syscall=ipc success=no exit=EACCES a0=17 a1=63637069 a2=10000 a3=3b6 items=0 ppid=3818 pid=4362 auid=4294967295 uid=457 gid=447 euid=457 suid=457 fsuid=457 egid=447 sgid=447 fsgid=447 tty=(none) ses=4294967295 comm=mysql_qcache_me exe=/usr/bin/perl subj=system_u:system_r:services_munin_plugin_t:s0 key=(null)

Hash: mysql_innodb_bp,services_munin_plugin_t,services_munin_plugin_t,shm,create

audit2allow

#============= services_munin_plugin_t ==============
allow services_munin_plugin_t self:shm create;

audit2allow -R

#============= services_munin_plugin_t ==============
allow services_munin_plugin_t self:shm create;

Comment 1 Daniel Walsh 2011-11-08 17:09:24 UTC
Fixed this in F16 policy.

Comment 2 Fedora End Of Life 2012-08-16 14:42:26 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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