RHEL: create /etc/openvswitch directory
authorAnsis Atteka <aatteka@nicira.com>
Fri, 2 Oct 2015 23:46:40 +0000 (16:46 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Fri, 9 Oct 2015 00:32:25 +0000 (17:32 -0700)
commitf0dc83b762bd2645aef975ab01e33b8d69c68840
tree1d53dae7232e8bbb8770deccb2e2e30c1db74371
parent3ca600a3e1b2cc67128ff3cbda42e5adc0376e5c
RHEL: create /etc/openvswitch directory

This directory needs to be created by the package manager
because ovs-ctl is being invoked from SElinux openvswitch
domain that does not have enough privileges to create
directories under /etc on its own.

Without this patch Open vSwitch is not able to start under
SElinux enforcing mode (which is default on CentOS by the way).

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
Ackedy-by: Kyle Mestery <mestery@mestery.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
rhel/openvswitch.spec.in