Bug 561215 - SELinux is preventing httpd (httpd_t) "name_bind" amanda_port_t.
Summary: SELinux is preventing httpd (httpd_t) "name_bind" amanda_port_t.
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7b84291d179...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-03 02:56 UTC by info
Modified: 2010-02-03 13:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-03 13:21:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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