diff options
author | Ansis Atteka <aatteka@nicira.com> | 2015-10-02 16:46:40 -0700 |
---|---|---|
committer | Ansis Atteka <aatteka@nicira.com> | 2015-10-08 17:32:25 -0700 |
commit | f0dc83b762bd2645aef975ab01e33b8d69c68840 (patch) | |
tree | 1d53dae7232e8bbb8770deccb2e2e30c1db74371 /rhel | |
parent | 3ca600a3e1b2cc67128ff3cbda42e5adc0376e5c (diff) |
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>
Diffstat (limited to 'rhel')
-rw-r--r-- | rhel/openvswitch.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 0ec65be9a..4a2076c86 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -120,6 +120,7 @@ exit 0 %files %defattr(-,root,root) +%dir /etc/openvswitch /etc/bash_completion.d/ovs-appctl-bashcomp.bash /etc/bash_completion.d/ovs-vsctl-bashcomp.bash /etc/init.d/openvswitch |