mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-09 13:05:01 +00:00
6b6a53db5f
Here's an selinux policy for haproxy. The patch is built and lightly tested with haproxy-1.3.15.7-1.fc10.i386 on Fedora9, and haproxy-1.2.18 on RHEL5.
7 lines
375 B
Plaintext
7 lines
375 B
Plaintext
# haproxy labeling policy
|
|
# file: haproxy.fc
|
|
/usr/sbin/haproxy -- gen_context(system_u:object_r:haproxy_exec_t, s0)
|
|
/etc/haproxy/haproxy\.cfg -- gen_context(system_u:object_r:haproxy_conf_t, s0)
|
|
/var/run/haproxy\.pid -- gen_context(system_u:object_r:haproxy_var_run_t, s0)
|
|
/var/run/haproxy\.sock(.*) -- gen_context(system_u:object_r:haproxy_var_run_t, s0)
|