logrotate reports error re: mirobridge.log

Bug #581283 reported by tenminjoe@yahoo.com
34
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Medium
Thomas Mashos

Bug Description

Every day, anacron emails me with:

/etc/cron.daily/logrotate:
error: stat of /var/log/mythtv/mirobridge.log failed: No such file or directory

My guess is this is because I am not using mirobridge, so there's no log file, but /etc/logrotate.d/mythtv-backend is still configured with an entry for mirobridge.log

I originally installed Ubuntu Lucid Lynx, and then I added the Mythbuntu package repositories to get the latest fixes.

I am using mythtv-backend 0.23.0+fixes24669-0ubuntu0+mythbuntu2.

I can work around this by editing the configuration file (or maybe creating a dummy log file?) but obviously it would be better if this weren't necessary. Thanks.

Revision history for this message
Thomas Mashos (tgm4883) wrote :

I've had a quick look at the code and see where this would occur

Changed in mythbuntu:
assignee: nobody → Thomas Mashos (tgm4883)
status: New → In Progress
Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: In Progress → Fix Committed
importance: Undecided → Medium
Revision history for this message
Thomas Mashos (tgm4883) wrote :

This is available in auto-builds now http://www.mythbuntu.org/auto-builds

Changed in mythbuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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