Created
June 22, 2017 07:09
-
-
Save pcuzner/049cc8fef1f49c533e0dac47fb66976e to your computer and use it in GitHub Desktop.
selinux problem with write_graphite plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In collectd log | |
Jun 21 12:42:52 magna123 collectd[1415]: write_graphite plugin: Connecting to magna010.ceph.redhat.com:2003 via tcp failed. The last error was: failed to connect to remote host: Permission denied | |
Jun 21 12:44:22 magna123 collectd[1415]: write_graphite plugin: Connecting to magna010.ceph.redhat.com:2003 via tcp failed. The last error was: failed to connect to remote host: Permission denied | |
Jun 21 12:47:12 magna123 collectd[1415]: write_graphite plugin: Connecting to magna010.ceph.redhat.com:2003 via tcp failed. The last error was: failed to connect to remote host: Permission denied | |
Jun 21 12:52:42 magna123 collectd[1415]: write_graphite plugin: Connecting to magna010.ceph.redhat.com:2003 via tcp failed. The last error was: failed to connect to remote host: Permission denied | |
In audit log | |
type=AVC msg=audit(1498115272.402:51160): avc: denied { name_connect } for pid=1481 comm="writer#1" dest=2003 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:lmtp_port_t:s0 tclass=tcp_socket | |
type=AVC msg=audit(1498115282.402:51172): avc: denied { name_connect } for pid=1481 comm="writer#1" dest=2003 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:lmtp_port_t:s0 tclass=tcp_socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment