messages, syslog and kern.log don't get rotated.

Bug #483526 reported by Siep Kroonenberg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: rsyslog

Release: Karmic
Package version: 4.2.0-2ubuntu5
What I expected: at least weekly rotation of these logs
What I found: last rotation more than 2 weeks ago.

I upgraded to Karmic around 30 october. The last `old' versions of these logs are from 30 october and before, whereas before that time they were rotated at least weekly. The current versions of the logs have sizes ranging from 2 to 3 MB. A command `logrotate /etc/logrotate.d/rsyslog' has no effect.

Revision history for this message
Simon IJskes (sim-nyx) wrote :

as a workaround, try:

logrotate -f /etc/logrotate.d/rsyslog

this rotated my logfiles, but i had to manually restart rsyslog in order to have it open a new /var/log/syslog

Simon IJskes (sim-nyx)
Changed in rsyslog (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon IJskes (sim-nyx) wrote :

logrotate rotates the /var/log/syslog file, and does not create a new one.
rsyslog gets a kill -HUP, but is then unable to create a new /var/log/syslog

Revision history for this message
Simon IJskes (sim-nyx) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.