[ovs-dev] [PATCH 3/3] RHEL: create /etc/openvswitch directory

Ansis Atteka aatteka at nicira.com
Sun Oct 4 22:20:10 UTC 2015

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 at nicira.com>
 rhel/openvswitch.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 0ec65be..4a2076c 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -120,6 +120,7 @@ exit 0
+%dir /etc/openvswitch

More information about the dev mailing list