Paul Martin wrote:
On Mon, Jun 02, 2008 at 07:50:54AM +0200, Colin Alston wrote:

I suggest this bug be upgraded to grave and fixed as soon as possible. etc # logrotate logrotate.conf error: clamav-daemon.ucf-dist:1 duplicate log entry for /var/log/clamav/clamav.log

Apt may at any time write a duplicate to logrotate.d, but the wildcard
will pick up the dist configuration files in this state and fail.
Logrotate gives up on the entire situation and without notice your logs
are not being rotated.

Is ".ucf-dist" a new taboo extension, to be added to the current list of:

.rpmorig
.rpmsave
.dpkg-dist
.dpkg-old
.dpkg-new
.disabled
,v
.swp
.rpmnew
~


Ahh, I guess so. The only other thing I can think of is that logrotate treat each item in logrotate.d as a separate entity which might require some re-architecting of the configuration parser, or skip over failures like a duplicate and just throw out the offending entry with a warning.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to