Bug 433539

Summary: kerneloops cannot connect to http_port_t
Product: [Fedora] Fedora Reporter: Andrew Farris <lordmorgul>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-19 21:55:50 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 Andrew Farris 2008-02-19 21:52:51 UTC
Description of problem:
denial while attempting to report kernel oops using the kernelopps automatic
submission

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.2.7-6.fc9.noarch
kernel-2.6.25-0.40.rc1.git2.fc9.i686

SELinux is preventing kerneloops (kerneloops_t) "name_connect" to <Unknown>
(http_port_t).

Source Context                system_u:system_r:kerneloops_t
Target Context                system_u:object_r:http_port_t
Target Objects                None [ tcp_socket ]
Source                        kerneloops
Source Path                   /usr/sbin/kerneloops
Port                          80
Host                          cirithungol
Source RPM Packages           kerneloops-0.10-2.fc9
Target RPM Packages           
Policy RPM                    selinux-policy-3.2.7-6.fc9
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     cirithungol
Platform                      Linux cirithungol 2.6.25-0.40.rc1.git2.fc9 #1 SMP
                              Wed Feb 13 17:55:35 EST 2008 i686 i686
Alert Count                   1
First Seen                    Tue 19 Feb 2008 01:47:29 PM PST
Last Seen                     Tue 19 Feb 2008 01:47:29 PM PST
Local ID                      7277e2aa-8c1c-4520-88d4-cfdc8de3a12c
Line Numbers                  

Raw Audit Messages            

host=cirithungol type=AVC msg=audit(1203457649.845:97): avc:  denied  {
name_connect } for  pid=2584 comm="kerneloops" dest=80
scontext=system_u:system_r:kerneloops_t:s0
tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket

host=cirithungol type=SYSCALL msg=audit(1203457649.845:97): arch=40000003
syscall=102 success=no exit=-13 a0=3 a1=bfcf03a0 a2=745a6a4 a3=0 items=0 ppid=1
pid=2584 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="kerneloops" exe="/usr/sbin/kerneloops"
subj=system_u:system_r:kerneloops_t:s0 key=(null)

Comment 1 Daniel Walsh 2008-02-19 21:55:50 UTC
Fixed in selinux-policy-3.2.8-1.fc9