Summary: | logrotate apache2 script calls the wrong init.d script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Edwin Barendse <gentoo> |
Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
entered too quick sorry! |
that problem is that the log get rotated but the compress function is not called anymore due to the init.d script miss call. so every time the .1 log is not compressed and so the next time it is overwritten with the next .1 log. Reproducible: Always Steps to Reproduce: 1. logrotate (weekly rotate) 2. 3. Actual Results: apache log .1 gets not compressed and is overwritten with next logrotation Expected Results: log .1 gets compressed to .1.gz and rotates in order solution the original scipt calls the init script 'apache' wich should be 'apache2' /etc/logrotate.d/apache2 6c6 < /etc/init.d/apache restart --- > /etc/init.d/apache2 restart