Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 802D4200C1E for ; Fri, 17 Feb 2017 20:32:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7ECEA160B57; Fri, 17 Feb 2017 19:32:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BF3AE160B46 for ; Fri, 17 Feb 2017 20:32:11 +0100 (CET) Received: (qmail 94546 invoked by uid 500); 17 Feb 2017 19:32:05 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 94521 invoked by uid 99); 17 Feb 2017 19:32:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 19:32:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8FDA0DFBD3; Fri, 17 Feb 2017 19:32:05 +0000 (UTC) From: ustcweizhou To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack issue #1915: CLOUDSTACK-9746 system-vm: logrotate config causes c... Content-Type: text/plain Message-Id: <20170217193205.8FDA0DFBD3@git1-us-west.apache.org> Date: Fri, 17 Feb 2017 19:32:05 +0000 (UTC) archived-at: Fri, 17 Feb 2017 19:32:12 -0000 Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1915 agree with @dmabry logrotate need to be moved (or copied) to cron.hourly ``` diff --git a/systemvm/patches/debian/config/etc/cron.hourly/logrotate b/systemvm/patches/debian/config/etc/cron.hourly/logrotate new file mode 100755 index 0000000..055b4d5 --- /dev/null +++ b/systemvm/patches/debian/config/etc/cron.hourly/logrotate @@ -0,0 +1,5 @@ +#!/bin/sh + +test -x /usr/sbin/logrotate || exit 0 +/usr/sbin/logrotate /etc/logrotate.conf + ``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---