From 0d598fb8dcac5abef723e27a42f91e87be27c772 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 14 Oct 2009 11:38:40 +0100 Subject: [PATCH] logrotate: Allow logs to be missing In particular ovs-brcompatd.log is not present if compatibility mode is disabled. Without this logrotate attempts to send email to the administrator. --- xenserver/etc_logrotate.d_openvswitch | 1 + 1 file changed, 1 insertion(+) diff --git a/xenserver/etc_logrotate.d_openvswitch b/xenserver/etc_logrotate.d_openvswitch index 22aab36a..18eb1925 100644 --- a/xenserver/etc_logrotate.d_openvswitch +++ b/xenserver/etc_logrotate.d_openvswitch @@ -7,6 +7,7 @@ /var/log/openvswitch/* { sharedscripts + missingok postrotate # Tell Open vSwitch daemons to reopen their log files /usr/bin/ovs-appctl -t ovs-vswitchd vlog/reopen -- 2.30.2