Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108837 - logrotate apache2 script calls the wrong init.d script
Summary: logrotate apache2 script calls the wrong init.d script
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 02:07 UTC by Edwin Barendse
Modified: 2005-10-11 10:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Barendse 2005-10-11 02:07:12 UTC
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
Comment 1 Edwin Barendse 2005-10-11 10:03:21 UTC
entered too quick sorry!