Bug 433539 - kerneloops cannot connect to http_port_t
Summary: kerneloops cannot connect to http_port_t
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-19 21:52 UTC by Andrew Farris
Modified: 2008-02-19 21:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-19 21:55:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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