FS#30495 - [ulogd] logrotate file causes recursive log file rotation

Attached to Project: Community Packages
Opened by Michael Gwin (oksijun) - Saturday, 30 June 2012, 18:54 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 01 July 2012, 18:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The log file rotation rules specified in /etc/logrotate.d/ulogd are set to apply to "/var/log/ulogd.*".

The wildcard causes a rotation "loop" as previously rotated files get rotated again and again, creating files with names such as ulogd.log.1.1.1.1.

Changing the first line to read "/var/log/ulogd.log /var/log/ulogd.syslogemu {" instead of "/var/log/ulogd.* {" fixes this.

Additional info:
* package version(s)

ulogd 2.0.0-1

* config and/or log files etc.

default config, log files present here are /var/log/ulogd.log and /var/log/ulogd.syslogemu.

Steps to reproduce:

Install ulogd (leave configuration as default), setup iptables with a ULOG target, wait for rotation.

This task depends upon

Closed by  Sergej Pupykin (sergej)
Sunday, 01 July 2012, 18:51 GMT
Reason for closing:  Fixed

Loading...