Your message dated Wed, 03 Oct 2012 11:17:31 +0000
with message-id <[email protected]>
and subject line Bug#681684: fixed in mythtv-status 0.10.2-2
has caused the Debian Bug report #681684,
regarding mythtv-status: cron job crashes if /var/run/motd.mythtv-status 
already present
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.)


-- 
681684: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681684
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mythtv-status
Version: 0.10.1-1
Tags: patch

I'm getting loads of messages to root saying things along the lines of:

Hey, /var/run/motd.mythtv-status already exists
-rw-r--r-- 1 root root 355 Jul 15 12:04 /var/run/motd
-rw-r--r-- 1 root root 355 Jul 15 12:05 /var/run/motd.mythtv-status
-rw-r--r-- 1 root root 355 Jul 15 12:05 /var/run/motd.orig
root     14201 14045  0 16:02 pts/3    00:00:00 /bin/sh 
/etc/init.d/mythtv-status reload
root     14209 14201  0 16:02 pts/3    00:00:00 grep mythtv-status
cat: /var/run/motd.new: No such file or directory

Is the intention for /etc/init.d/mythtv-status to bomb out when the
temp file already exists or to keep on going, but just to warn?

If the first, then the /etc/init.d/mythtv-status file should say in
the block on lines 66-71:

  if [ -f $TEMPFILE ]; then
    [...]
    exit 1
  fi

If it is not, then the cat /var/run/motd.new command should be
protected (line 70) by writing:

      cat /var/run/motd.new 1>&2 || true

This way, the script will continue even if the file does not exist
(which will probably be the case).

(A separate bug: if it is giving a warning, it should probably use the
log_warning_msg function instead of echo.)

   Julian

--- End Message ---
--- Begin Message ---
Source: mythtv-status
Source-Version: 0.10.2-2

We believe that the bug you reported is fixed in the latest version of
mythtv-status, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Ruthven <[email protected]> (supplier of updated mythtv-status package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 02 Oct 2012 21:50:10 +1300
Source: mythtv-status
Binary: mythtv-status
Architecture: source all
Version: 0.10.2-2
Distribution: unstable
Urgency: low
Maintainer: Andrew Ruthven <[email protected]>
Changed-By: Andrew Ruthven <[email protected]>
Description: 
 mythtv-status - Show the status of a MythTV backend
Closes: 681684 688034
Changes: 
 mythtv-status (0.10.2-2) unstable; urgency=low
 .
   * Handle a stale temp file more gracefully (Closes: #681684)
   * base-files 6.11 in Wheezy uses /var/run/motd.dynamic (Closes: #688034)
Checksums-Sha1: 
 16418dae93bf72a274d205bbf3a2c15af39fc7fc 1296 mythtv-status_0.10.2-2.dsc
 9443a6ec71e53ac89dcc2becd4b6ebdeee45b205 19670 
mythtv-status_0.10.2-2.debian.tar.gz
 2f0c20d7d019fa9563a9ec2728035a71a8bf0318 37936 mythtv-status_0.10.2-2_all.deb
Checksums-Sha256: 
 57bce15abc7b194c3b5877eb03fcd0527be70393abef0432d40b4a902d2d16c8 1296 
mythtv-status_0.10.2-2.dsc
 ddba010da88d58da51180d914dcffb7a379697bfe42bb4c09a32aaae106e44b6 19670 
mythtv-status_0.10.2-2.debian.tar.gz
 d79acef06fdf1d9079996efdf6efe21575eaf02e56f83a5064336a5103e4de95 37936 
mythtv-status_0.10.2-2_all.deb
Files: 
 aa05b9d3e29174c6839c2363f7b40344 1296 misc extra mythtv-status_0.10.2-2.dsc
 9d2e45d0f62f74e713ac2c73b33960f4 19670 misc extra 
mythtv-status_0.10.2-2.debian.tar.gz
 43c03ac665426e538a3e11b29b87a7cd 37936 misc extra 
mythtv-status_0.10.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFQbBA20obODAxit5ERAoMiAKCM/5wH+fnMLYDFKIWi5wSRkAVzUgCfXuuS
+GnAmTsL9ZmEbyzNup92UNY=
=Gw+k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to