[MBT] new entry in pkg logrotate "doesn't work when logs and log/archive are on different devices"
bugs at pld.org.pl
bugs at pld.org.pl
Sat Oct 5 20:00:31 CEST 2002
Date: 2002-10-05 20:00:31+02 Author: Jacek Konieczny (Jajcus) <jajcus at bnet.pl>
Title: doesn't work when logs and log/archive are on different devices
Ticket ID: #371
Ticket URL: http://bugs.pld.org.pl/?bug=371
Package: logrotate-3.6.5-3
Distribution: PLD-Ra.main PLD-1.0.devel.main
Category: improve request
Current state: opened
Text:
This is not a bug (and you know this, as you set type to "improve requests" :->).
Logs cannot be reliably rotated to another device, but this could be done if some temporary file would be created (log whould be renamed to it in fact).
Proposed solution: tmpdir directive in logrotate.conf, which whould define place for temporary files on /var/log partition.
Other solution (probably even better): move logfile to logfile.tmp (this will work wherever that file is).
More information about the pld-bugs
mailing list