FS#30496 - [ulogd] logrotate file causes recursive log file rotation
Attached to Project:
Community Packages
Opened by Michael Gwin (oksijun) - Saturday, 30 June 2012, 18:59 GMT
Last edited by Daniel Wallace (gtmanfred) - Saturday, 30 June 2012, 19:09 GMT
Opened by Michael Gwin (oksijun) - Saturday, 30 June 2012, 18:59 GMT
Last edited by Daniel Wallace (gtmanfred) - Saturday, 30 June 2012, 19:09 GMT
|
Details
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 recursively 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 Daniel Wallace (gtmanfred)
Saturday, 30 June 2012, 19:09 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#30495
Saturday, 30 June 2012, 19:09 GMT
Reason for closing: Duplicate
Additional comments about closing: