selinux拒绝haproxy连接?

selinux拒绝haproxy连接?,haproxy,selinux,Haproxy,Selinux,我在syslog中看到这些消息: Mar 10 12:51:35 db1 kernel: [5851729.958138] type=1400 audit(1457614295.823:2925931): avc: denied { name_connect } for pid=801 comm="haproxy" dest=7778 scontext=system_u:system_r:haproxy_t:s0 tcontext=system_u:object_r:interwise_p

我在syslog中看到这些消息:

Mar 10 12:51:35 db1 kernel: [5851729.958138] type=1400 audit(1457614295.823:2925931): avc:  denied  { name_connect } for  pid=801 comm="haproxy" dest=7778 scontext=system_u:system_r:haproxy_t:s0 tcontext=system_u:object_r:interwise_port_t:s0 tclass=tcp_socket
这是否意味着SELinux拒绝与haproxy的连接

谢谢

您可以尝试运行:

setsebool-p haproxy\u connect\u any 1


以root用户身份启用haproxy的连接。

在centos 7上对我来说非常有用。事实上,这就是解决方案。这里是25号软呢帽