From: Gurucharan Shetty Date: Sat, 13 Jul 2013 03:52:51 +0000 (-0700) Subject: rhel, xenserver: Create /var/log/openvswitch directory. X-Git-Tag: sliver-openvswitch-2.0.90-1~36^2~31 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=c649fe54427ea6e6c53e0c832314d999ec11e4e9 rhel, xenserver: Create /var/log/openvswitch directory. During installation create the /var/log/openvswitch directory so that openvswitch startup script is able to write the ovs-ctl.log Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index dc40403ee..27a3b0368 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -174,6 +174,7 @@ systemctl start openvswitch.service %doc /usr/share/man/man8/ovs-test.8.gz %doc /usr/share/man/man8/ovs-l3ping.8.gz /var/lib/openvswitch +/var/log/openvswitch /usr/share/openvswitch/scripts/ovs-ctl %exclude /etc/openvswitch %exclude /usr/bin/ovs-benchmark diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in index 53512bc5c..0fd52004d 100644 --- a/rhel/openvswitch.spec.in +++ b/rhel/openvswitch.spec.in @@ -155,3 +155,4 @@ exit 0 /usr/share/doc/openvswitch-%{version}/FAQ /usr/share/doc/openvswitch-%{version}/README.RHEL /var/lib/openvswitch +/var/log/openvswitch diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in index dff18d0b5..4d3b8fa6a 100644 --- a/xenserver/openvswitch-xen.spec.in +++ b/xenserver/openvswitch-xen.spec.in @@ -452,6 +452,7 @@ exit 0 /usr/share/man/man8/ovs-vsctl.8.gz /usr/share/man/man8/ovs-vswitchd.8.gz /var/lib/openvswitch +/var/log/openvswitch %exclude /usr/lib/xsconsole/plugins-base/*.py[co] %exclude /usr/share/openvswitch/scripts/*.py[co] %exclude /usr/share/openvswitch/python/*.py[co]