[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578004#comment-13578004
 ] 

ASF subversion and git services commented on CLOUDSTACK-1265:
-------------------------------------------------------------

Commit 4d8d9c6368eee74815d468754567356567674152 in branch refs/heads/4.1 from 
Chiradeep Vittal <chirad...@apache.org>
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=4d8d9c6 ]

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
>            Assignee: Chiradeep Vittal
>            Priority: Minor
>             Fix For: 4.2.0
>
>   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

Reply via email to