Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57A35101FF for ; Mon, 4 Nov 2013 22:33:18 +0000 (UTC) Received: (qmail 99559 invoked by uid 500); 4 Nov 2013 22:33:18 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 99517 invoked by uid 500); 4 Nov 2013 22:33:18 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 99502 invoked by uid 500); 4 Nov 2013 22:33:17 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 99499 invoked by uid 99); 4 Nov 2013 22:33:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 22:33:17 +0000 Date: Mon, 4 Nov 2013 22:33:17 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-3216) Logs in the Software router are not being rotated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813363#comment-13813363 ] ASF subversion and git services commented on CLOUDSTACK-3216: ------------------------------------------------------------- Commit 70330f5cf32f4a0463edf5024cf841e0e678f423 in branch refs/heads/ui-restyle from [~mlsorensen] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=70330f5 ] CLOUDSTACK-3216 /var/log/cloud.log did not have a logrotate script, here is a basic one. > Logs in the Software router are not being rotated > ------------------------------------------------- > > Key: CLOUDSTACK-3216 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3216 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Affects Versions: 4.1.0, 4.2.0 > Environment: centos kvm > Reporter: Brian Angus > Assignee: Rajesh Battala > Priority: Blocker > Labels: debian > Fix For: 4.1.1, 4.2.0 > > Original Estimate: 3h > Remaining Estimate: 3h > > root@r-6-VM:/etc# ls -l logrotate.* > -rwxr-xr-x 1 root root 498 Jun 19 16:34 logrotate.conf > logrotate.d: > total 10 > -rwxr-xr-x 1 root root 192 Jun 19 16:34 apache2 > -rw-r--r-- 1 root root 173 Dec 13 2012 apt > -rw-r--r-- 1 root root 79 Nov 5 2012 aptitude > -rw-r--r-- 1 root root 154 Jun 12 2012 conntrackd > -rwxr-xr-x 1 root root 266 Jun 19 16:34 dnsmasq > -rw-r--r-- 1 root root 232 Oct 20 2012 dpkg > -rwxr-xr-x 1 root root 203 Jun 19 16:34 haproxy > -rw-r--r-- 1 root root 268 Jun 1 2012 monit > -rwxr-xr-x 1 root root 93 Jun 19 16:34 ppp > -rwxr-xr-x 1 root root 515 Jun 19 16:34 rsyslog > root@r-6-VM:/etc# /usr/sbin/logrotate -d -v /etc/logrotate.conf > Ignoring /etc/logrotate.conf because of bad file mode. > Handling 0 logs > root@r-6-VM:/etc# > Looks like the file permissions are correct in the template (0644) but when the router gets deployed the permissions are getting changed. > Looks like the problem is in patches/pom.xml: > the filemode for the tarfileset is set to 755 > Also there needs to be a logrotate config for /var/log/cloud.log -- This message was sent by Atlassian JIRA (v6.1#6144)