Your message dated Thu, 16 Oct 2014 12:39:36 +1300
with message-id <[email protected]>
and subject line Fixed in 0.10.4-1
has caused the Debian Bug report #704436,
regarding mythtv-status: Daily cron failure when email alerts are enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
704436: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704436
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mythtv-status
Version: 0.10.2-3
Severity: normal

Hi Andrew,

I configured my mythtv-status package on wheezy to send me an email
when a scheduling conflict is found.

Unfortunately, there's a typo in the daily cronjob and it creates
cron spam:

  /etc/cron.daily/mythtv-status:
  Unknown option: -email-only-on-alert
  
  Use --help for help.
  
  Usage:
       mythtv-status [options]

Attached is a patch for it.

Cheers,
Francois
>From 1e7b683be3a0959659f94c70f50160aed2c0f343 Mon Sep 17 00:00:00 2001
From: Francois Marier <[email protected]>
Date: Mon, 1 Apr 2013 00:39:28 -0400
Subject: [PATCH] Fix typo in argument name

Without this fix, the daily cronjob would fail with the following
error message:

  /etc/cron.daily/mythtv-status:
  Unknown option: -email-only-on-alert

  Use --help for help.

  Usage:
       mythtv-status [options]
---
 debian/postinst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 54aee1e..59c324c 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -14,7 +14,7 @@ case "$1" in
     DEBIANCONFIG=/etc/default/$PACKAGE
 
     # Default to --email-only-on-alert but allow it be unset in the config file.
-    EMAIL_ARGS="---email-only-on-alert"
+    EMAIL_ARGS="--email-only-on-alert"
 
     # load current settings, most of which will be overwritten.
     [ -f $DEBIANCONFIG ] && . $DEBIANCONFIG
-- 
1.7.9.5


--- End Message ---
--- Begin Message ---
Version: 0.10.4-1

This was fixed in the 0.10.4-1 upload but this bug wasn't closed
automatically due to (ironically) a typo in the changelog:

  * Remove an extraneous hypen in our postinst (Cloases: #704436)

Francois

-- 
Francois Marier           identi.ca/fmarier
http://fmarier.org      twitter.com/fmarier

--- End Message ---

Reply via email to