* micah anderson <mi...@riseup.net> [Mon Nov 29, 2010 at 11:19:02AM -0500]:
> On Mon, 29 Nov 2010 11:33:42 +0100, Stig Sandbeck Mathisen <s...@debian.org> 
> wrote:
> > intrigeri+deb...@boum.org writes:

> > > So I have a puppetmaster host with an ever growing
> > > /var/log/puppet/masterhttp.log.

> > Thanks for the bug report.  It'll be fixed.

> This seems like something worth fixing in squeeze. Stig, can you bring
> that fix into the squeeze-2.6.2 branch when you've done it, and we can
> add it to the upload I plan to do soon with the other minor fixes.

Since this change I'm getting:

# logrotate /etc/logrotate.conf
error: puppetmaster:1 duplicate log entry for /var/log/puppet/masterhttp.log

due to /var/log/puppet/*log in /etc/logrotate.d/puppet and
/var/log/puppet/masterhttp.log in /etc/logrotate.d/puppetmaster
both on the same machine refer to the same logfile.

Running:

  mv /etc/logrotate.d/puppetmaster /etc/logrotate.d/puppetmaster.disabled

works around this issue.

BTW: I'd also vote for checking the initfiles with [ -x ... ] within
/etc/logrotate.d/puppet so if the init script(s) doesn't have
execute flags it's not trying to be executed.

Thanks for your work.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to