puppetmaster and puppet have clashing logrotate configs

Bug #793632 reported by Damian Soto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet (Debian)
Fix Released
Unknown
puppet (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: puppet

/etc/logrotate.d/puppetmaster

cat /etc/logrotate.d/puppet
/var/log/puppet/*log {
  missingok
  create 0644 puppet puppet
  compress
  rotate 4

  postrotate
    [ -e /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster restart >/dev/null 2>&1 || true
    [ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true
  endscript
}

cat /etc/logrotate.d/puppetmaster
/var/log/puppet/masterhttp.log {
  missingok
  notifempty
  create 0644 puppet puppet
  compress
  rotate 4

  postrotate
    pkill -USR2 -u puppet -f puppetmasterd || true
  endscript
}

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug, Ill see what I can do.

Regards
chuck

Changed in puppet (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Stig Sandbeck Mathisen (ssm) wrote :

This is fixed in 2.6.5-1 and later, in commit c29ee05efdfbfaf0fe96573571047bd74a27bc11 in the debian packaging repository.

Changed in puppet (Debian):
status: Unknown → Fix Released
Changed in puppet (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.