rhel, xenserver: Create /var/log/openvswitch directory.
authorGurucharan Shetty <gshetty@nicira.com>
Sat, 13 Jul 2013 03:52:51 +0000 (20:52 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 15 Jul 2013 16:36:10 +0000 (09:36 -0700)
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 <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in
xenserver/openvswitch-xen.spec.in

index dc40403..27a3b03 100644 (file)
@@ -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
index 53512bc..0fd5200 100644 (file)
@@ -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
index dff18d0..4d3b8fa 100644 (file)
@@ -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]