Summary: | app-admin/logrotate-3.8.[0-3]: logfiles are not rotated | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Chema Alonso Josa (RETIRED) <nimiux> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2013-01-19 12:19:57 UTC
I think, I found the reason. I tried to run logrotate manually and detected, that the owner of /etc/logrotate.conf was not correct: root@condor:/usr/src/linux(53)# logrotate -v /etc/logrotate.conf Ignoring /etc/logrotate.conf because the file owner is wrong (should be root). Handling 0 logs root@condor:/usr/src/linux(54)# ll /etc/logrotate.conf -rw-r--r-- 1 rose root 1679 Sep 14 2009 /etc/logrotate.conf root@condor:/usr/src/linux(55)# chown root /etc/logrotate.conf root@condor:/usr/src/linux(56)# logrotate -v /etc/logrotate.conf reading config file /etc/logrotate.conf including /etc/logrotate.d reading config file acct ... (In reply to comment #1) > I think, I found the reason. I tried to run logrotate manually and detected, > that the owner of /etc/logrotate.conf was not correct: > Did it work? Can we close this bug? I think it works and bug can be closed. Ok, closing... reopen if necessary Thanks. |