You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/02/13 23:36:12 UTC

[jira] [Commented] (CLOUDSTACK-1265) logrotate dnsmasq configuration is wrong

    [ 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 <ch...@apache.org>
[ 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