-
Bug
-
Resolution: Fixed
-
Major
-
None
The logrotate script uses
kill -SIGALRM `cat /var/run/hudson.pid`
which works fine for the bash builtin, but fails for /bin/kill, which only accepts
usage: kill [ -s signal | -p ] [ -a ] pid ... kill -l [ signal ]
on CentOS 5.
Using kill -s SIGALRM would make both variants happy and increase portability.
[JENKINS-5784] Usage of kill in logrotate script is non-portable
Attachment | New: hudson.logrotate.patch2010-10-20pdurbin [ 19874 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Attachment | New: jenkins-logrotate.patch [ 20237 ] |
Assignee | New: Olav Reinert [ oreinert ] |
Status | Original: Reopened [ 4 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Assignee | Original: Olav Reinert [ oreinert ] |