Option "-f" in /etc/cron.daily/logrotate force rotation of all logs every day, overwriting options weekly/monthly in config files
Bug #812889 reported by
Victor Hugo dos Santos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In the "/etc/cron.
===============
#!/bin/sh
test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate -f /etc/logrotate.conf
===============
but option -f force logrotate to rotate all logs every day and options weekly and monthly in config files don't work.
solution: Remove option -f in "/etc/cron.
logrotate:
Installed: 3.7.8-4ubuntu2.1
Candidate: 3.7.8-4ubuntu2.1
Version table:
*** 3.7.8-4ubuntu2.1 0
500 http://
100 /var/lib/
3.7.8-4ubuntu2 0
500 http://
To post a comment you must log in.