Bug 830813

Summary: SELinux is preventing cinnamon from using the 'execmem' accesses on a process.
Product: [Fedora] Fedora Reporter: jazz <frazzledjazz>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG 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: i686   
OS: Unspecified   
Whiteboard: abrt_hash:284a648b32cdb561de0e169907007d090a67c7886fb9d314f545fc23a105c25c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-11 13:57:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jazz 2012-06-11 13:11:15 UTC
libreport version: 2.0.8
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc16.i686
reason:         SELinux is preventing cinnamon from using the 'execmem' accesses on a process.
time:           Mon 11 Jun 2012 09:09:20 AM EDT

description:
:SELinux is preventing cinnamon from using the 'execmem' accesses on a process.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that cinnamon should be allowed execmem access on processes labeled unconfined_t 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 cinnamon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
:                              023
:Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
:                              023
:Target Objects                 [ process ]
:Source                        cinnamon
:Source Path                   cinnamon
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-86.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc16.i686 #1
:                              SMP Tue May 22 14:14:30 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Mon 11 Jun 2012 09:07:54 AM EDT
:Last Seen                     Mon 11 Jun 2012 09:07:54 AM EDT
:Local ID                      b4e72705-e879-4e71-8f3e-fdfaf646afe4
:
:Raw Audit Messages
:type=AVC msg=audit(1339420074.294:59): avc:  denied  { execmem } for  pid=1507 comm="cinnamon" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process
:
:
:Hash: cinnamon,unconfined_t,unconfined_t,process,execmem
:
:audit2allow
:
:#============= unconfined_t ==============
:#!!!! This avc can be allowed using one of the these booleans:
:#     allow_execstack, allow_execmem
:
:allow unconfined_t self:process execmem;
:
:audit2allow -R
:
:#============= unconfined_t ==============
:#!!!! This avc can be allowed using one of the these booleans:
:#     allow_execstack, allow_execmem
:
:allow unconfined_t self:process execmem;
:

Comment 1 Daniel Walsh 2012-06-11 13:57:10 UTC
Turn on the allow_execmem boolean if you are going to use cinnamon.


#setsebool -P allow_execmem 1