Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BABE1E3C5 for ; Wed, 13 Feb 2013 22:36:13 +0000 (UTC) Received: (qmail 9976 invoked by uid 500); 13 Feb 2013 22:36:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 9949 invoked by uid 500); 13 Feb 2013 22:36:12 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 9938 invoked by uid 99); 13 Feb 2013 22:36:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 22:36:12 +0000 Date: Wed, 13 Feb 2013 22:36:12 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1265) logrotate dnsmasq configuration is wrong 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-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578002#comment-13578002 ] ASF subversion and git services commented on CLOUDSTACK-1265: ------------------------------------------------------------- Commit 5c077f3413184a20ea554c142e6cea44b619e1a8 in branch refs/heads/master from Chiradeep Vittal [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=5c077f3 ] CLOUDSTACK-1265: /etc/init.d/dnsmasq puts pid in /var/run/dnsmasq/dnsmasq.pid logrotate checks /var/run/dnsmasq.pid instead and may not send SIGUSR2 to dnsmasq to start writing to the new log file instead > logrotate dnsmasq configuration is wrong > ---------------------------------------- > > Key: CLOUDSTACK-1265 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1265 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.0.0, 4.0.1, 4.0.2, 4.1.0 > Reporter: Chiradeep Vittal > Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > There is a bug in our logrotate config > postrotate > [ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq.pid` > should be > postrotate > [ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat > /var/run/dnsmasq/dnsmasq.pid` -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira