logrotate cron spams when only apache2.2-common installed
Bug #314411 reported by
Christian Hudon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2
When only the apache2.2-common package is left installed (at least in hardy), I get an email fron cron every day saying:
/etc/cron.
error: error accessing /var/log/apache2: No such file or directory
error: apache2:1 glob failed for /var/log/
One solution would be to have the package that installs the /var/log/apache2 directory also install the /etc/logrotate.
To post a comment you must log in.
How did you manage to have the packaget manager remove /var/log/apache2 without touching /etc/logrotate. d/apache2? The only way I've managed to get apt to remove /var/log/apache2 is by purging apache2.2-common, and that also removes /etc/logrotate. d/apache2.
Was it a fresh install of Hardy, or was it an upgrade from a previous Ubuntu version? Do you remember which Apache2 packets you had installed; what MPM?