Bug 561215

Summary: SELinux is preventing httpd (httpd_t) "name_bind" amanda_port_t.
Product: [Fedora] Fedora Reporter: info
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:7b84291d1793db4e986e5d49cc206e6d0e828df0824e1312d6d625a2bc5f42f6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-03 13:21: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 info 2010-02-03 02:56:54 UTC
Summary:

SELinux is preventing httpd (httpd_t) "name_bind" amanda_port_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by httpd. It is not expected that this access is
required by httpd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:system_r:httpd_t:s0
Target Context                system_u:object_r:amanda_port_t:s0
Target Objects                None [ tcp_socket ]
Source                        httpd
Source Path                   /usr/sbin/httpd
Port                          10083
Host                          (removed)
Source RPM Packages           httpd-2.2.13-1.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-93.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.10-105.2.4.fc11.x86_64 #1 SMP
                              Tue Jan 19 22:46:59 UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Tue 02 Feb 2010 08:59:23 PM CET
Last Seen                     Tue 02 Feb 2010 08:59:25 PM CET
Local ID                      ca17442c-a7af-4054-91c3-be6188210428
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265140765.920:1259): avc:  denied  { name_bind } for  pid=13514 comm="httpd" src=10083 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:amanda_port_t:s0 tclass=tcp_socket

node=(removed) type=SYSCALL msg=audit(1265140765.920:1259): arch=c000003e syscall=49 success=yes exit=0 a0=7 a1=7f0f89d09c88 a2=10 a3=7fff79a1bcac items=0 ppid=13513 pid=13514 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=117 comm="httpd" exe="/usr/sbin/httpd" subj=unconfined_u:system_r:httpd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-93.fc11,catchall,httpd,httpd_t,amanda_port_t,tcp_socket,name_bind
audit2allow suggests:

#============= httpd_t ==============
allow httpd_t amanda_port_t:tcp_socket name_bind;

Comment 1 Daniel Walsh 2010-02-03 13:21:25 UTC

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