Bug 1326816 - SELinux prevents collectd from connecting to TCP port 2003
Summary: SELinux prevents collectd from connecting to TCP port 2003
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.2
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1326804
TreeView+ depends on / blocked
 
Reported: 2016-04-13 13:12 UTC by Nishanth Thomas
Modified: 2016-04-21 12:52 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1326804
Environment:
Last Closed: 2016-04-21 12:52:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nishanth Thomas 2016-04-13 13:12:47 UTC
+++ This bug was initially created as a clone of Bug #1326804 +++

Description of problem:

On storage nodes,noticed the below avc:

type=AVC msg=audit(1460458964.101:1672): avc:  denied  { name_connect } for  pid=11849 comm="collectd" dest=2003 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:lmtp_port_t:s0 tclass=tcp_socket

Comment 1 Lukas Vrabec 2016-04-21 12:52:33 UTC
Hi, 

You can use SELinux boolean to allow this action: 
# semanage boolean -m collectd_tcp_network_connect --on

Closing as NOTABUG.


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