diff options
author | Michele Baldessari <michele@acksyn.org> | 2017-03-08 15:23:59 +0100 |
---|---|---|
committer | Michele Baldessari <michele@acksyn.org> | 2017-03-22 22:07:23 +0100 |
commit | c802a805d400f12835b53bd7fed7ab086a04e9c4 (patch) | |
tree | 4a79a36de41e0168f7e0474bd60375d6b3e50c82 /spec/unit | |
parent | d71efd8a8f2284be9c24ec5b6e5a12f067e5d706 (diff) |
Correct haproxy's stat unix socket path
We currently set the haproxy stat socket to /var/run/haproxy.sock.
On Centos/RHEL with selinux enabled this will break:
avc: denied { link } for pid=284010 comm="haproxy"
name="haproxy.sock" dev="tmpfs" ino=330803
scontext=system_u:system_r:haproxy_t:s0
tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file
The blessed/correctly-labeled path is /var/lib/haproxy/stats
Note: I am setting only Partial-Bug because I would still like
to make this a parameter so other distros may just override the path.
But that change is more apt for pike and not for ocata.
Change-Id: I62aab6fb188a9103f1586edac1c2aa7949fdb08c
Patial-Bug: #1671119
(cherry picked from commit 5f8607711bb85150bb9631559f0538254ba5c5cc)
Diffstat (limited to 'spec/unit')
0 files changed, 0 insertions, 0 deletions