Bug 652999

Summary: SELinux is preventing /usr/bin/perl "execute" access on sendmail.sendmail.
Product: [Fedora] Fedora Reporter: srh <srhtemp1>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:4340d3005ad120511dc0f2c34341b2a60dc247765dc696763d0b05f74cfd90b1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 10:20:21 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 srh 2010-11-14 02:55:02 UTC
Summary:

SELinux is preventing /usr/bin/perl "execute" access on sendmail.sendmail.

Detailed Description:

SELinux denied access requested by ddclient. It is not expected that this access
is required by ddclient 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                system_u:system_r:ddclient_t:s0
Target Context                system_u:object_r:sendmail_exec_t:s0
Target Objects                sendmail.sendmail [ file ]
Source                        ddclient
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.12.2-136.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-10.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-48.fc14.x86_64 #1 SMP Fri
                              Oct 22 15:36:08 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Sun 14 Nov 2010 15:20:23 NZDT
Last Seen                     Sun 14 Nov 2010 15:20:23 NZDT
Local ID                      a2352507-841e-4259-996a-b287906bbd35
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1289701223.643:38989): avc:  denied  { execute } for  pid=3542 comm="ddclient" name="sendmail.sendmail" dev=sda5 ino=9316010 scontext=system_u:system_r:ddclient_t:s0 tcontext=system_u:object_r:sendmail_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1289701223.643:38989): arch=c000003e syscall=59 success=no exit=-13 a0=7fff3983d592 a1=16a08a0 a2=10291f0 a3=7fa583a0c600 items=0 ppid=1588 pid=3542 auid=4294967295 uid=489 gid=481 euid=489 suid=489 fsuid=489 egid=481 sgid=481 fsgid=481 tty=(none) ses=4294967295 comm="ddclient" exe="/usr/bin/perl" subj=system_u:system_r:ddclient_t:s0 key=(null)



Hash String generated from  catchall,ddclient,ddclient_t,sendmail_exec_t,file,execute
audit2allow suggests:

#============= ddclient_t ==============
allow ddclient_t sendmail_exec_t:file execute;

Comment 1 Miroslav Grepl 2010-11-15 10:20:21 UTC

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