Bug 642017

Summary: SELinux is preventing /opt/drweb/drwebd.real "execheap" access .
Product: [Fedora] Fedora Reporter: Dashke <dashke>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e9953a287e16132fd8c32f214e5763dd400a8382af6693553f3c59e8483623f8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-12 14:14:25 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 Dashke 2010-10-11 19:16:57 UTC
Summary:

SELinux is preventing /opt/drweb/drwebd.real "execheap" access .

Detailed Description:

SELinux denied access requested by drwebd.real. It is not expected that this
access is required by drwebd.real and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

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                None [ process ]
Source                        drwebd.real
Source Path                   /opt/drweb/drwebd.real
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-62.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.3-85.fc13.i686
                              #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686
Alert Count                   132
First Seen                    Mon 11 Oct 2010 09:12:23 PM CEST
Last Seen                     Mon 11 Oct 2010 09:12:48 PM CEST
Local ID                      410583ba-81b5-410e-8198-0add746ffc63
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1286824368.12:2982): avc:  denied  { execheap } for  pid=20830 comm="drwebd.real" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process

node=(removed) type=SYSCALL msg=audit(1286824368.12:2982): arch=40000003 syscall=125 success=no exit=-13 a0=989f000 a1=200 a2=7 a3=9893b90 items=0 ppid=14704 pid=20830 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="drwebd.real" exe="/opt/drweb/drwebd.real" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,drwebd.real,unconfined_t,unconfined_t,process,execheap
audit2allow suggests:

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execheap'

allow unconfined_t self:process execheap;

Comment 1 Daniel Walsh 2010-10-12 14:14:25 UTC

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