[ 
https://issues.jenkins-ci.org/browse/JENKINS-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160601#comment-160601
 ] 

SCM/JIRA link daemon commented on JENKINS-5784:
-----------------------------------------------

Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
 changelog.html
 rpm/SOURCES/jenkins.logrotate
http://jenkins-ci.org/commit/jenkins/8fb2f5162e499b5c0c4dc8f88af761b7c490bc38
Log:
  [FIXED JENKINS-5784]

Applied the change from Olav Reinert.





                
> Usage of kill in logrotate script is non-portable
> -------------------------------------------------
>
>                 Key: JENKINS-5784
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-5784
>             Project: Jenkins
>          Issue Type: Bug
>          Components: other
>            Reporter: rombert
>         Attachments: hudson.logrotate.patch2010-10-20pdurbin, 
> jenkins-logrotate.patch
>
>
> The logrotate script uses 
> {code}kill -SIGALRM `cat /var/run/hudson.pid`{code}
> which works fine for the bash builtin, but fails for /bin/kill, which only 
> accepts 
> {code}usage: kill [ -s signal | -p ] [ -a ] pid ...
>        kill -l [ signal ]{code}
> on CentOS 5.
> Using kill -s SIGALRM would make both variants happy and increase portability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to