haproxy/contrib/selinux/haproxy.fc
Jan-Frode Myklebust 6b6a53db5f [CONTRIB] selinux policy for haproxy
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.
2009-03-21 10:15:00 +01:00

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)