[Pkg-puppet-devel] Bug#605359: Bug#605359: puppetmaster: masterhttp.log is not rotated
Michael Prokop
mika at debian.org
Fri Dec 17 16:52:53 UTC 2010
* micah anderson <micah at riseup.net> [Mon Nov 29, 2010 at 11:19:02AM -0500]:
> On Mon, 29 Nov 2010 11:33:42 +0100, Stig Sandbeck Mathisen <ssm at debian.org> wrote:
> > intrigeri+debian at 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-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20101217/8a96e8b5/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list