/etc/logrotate.d/mailman sends cron mail almost every night

Bug #272051 reported by Knut Auvor Grythe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman Administrivia
Fix Released
Unknown
mailman (Ubuntu)
New
Undecided
Unassigned
Nominated for Hardy by Knut Auvor Grythe

Bug Description

Binary package hint: mailman

Servers running mailman on Ubuntu Hardy keep sending this mail nearly every night. It's quite annoying.

  Subject: Cron <root@hostname> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

  /etc/cron.daily/logrotate:
  Re-opening all log files

This is caused by /etc/logrotate.d/mailman, which in every postrotate script does this:

  [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0

I suggest changing this to:

  [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen >/dev/null || exit 0

...which doesn't cause any unnecessary cron mail.

I'd recommend fixing this as fast as possible, since frequent cron mail quickly will cause users to ignore all mails with the same subject. This could hide issues which do require attention.

Revision history for this message
Knut Auvor Grythe (knut-a-grythe) wrote :

I just noticed that this was previously solved in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456954

Changed in mailman-administrivia:
status: Unknown → 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.