Debian Bug report logs - #902684
mythtv-status: motd functionality not working correctly

version graph

Package: mythtv-status; Maintainer for mythtv-status is Andrew Ruthven <andrew@etc.gen.nz>; Source for mythtv-status is src:mythtv-status (PTS, buildd, popcon).

Reported by: "Ian Campbell" <ijc@hellion.org.uk>

Date: Fri, 29 Jun 2018 15:33:01 UTC

Severity: normal

Found in version mythtv-status/0.10.8-1

Fixed in version mythtv-status/1.0.0-1

Done: Andrew Ruthven <andrew@etc.gen.nz>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Andrew Ruthven <andrew@etc.gen.nz>:
Bug#902684; Package mythtv-status. (Fri, 29 Jun 2018 15:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Ian Campbell" <ijc@hellion.org.uk>:
New Bug report received and forwarded. Copy sent to Andrew Ruthven <andrew@etc.gen.nz>. (Fri, 29 Jun 2018 15:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Ian Campbell" <ijc@hellion.org.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mythtv-status: motd functionality not working correctly
Date: Fri, 29 Jun 2018 16:27:57 +0100
Package: mythtv-status
Version: 0.10.8-1
Severity: normal

Hello,

I just installed this package and the motd updating functionality is not
working. I can see that it is correctly populating /var/run/motd.dynamic but
that is not being incorporated into the actual motd (wherever that is/however
that happens).

In a mail to mythtv-user[0] another user noticed that apparently it is now
necessary (on Ubuntu) to create a snippet in /etc/update-motd.d. I've not tried
this on my Debian system yet, but I note that the directory does exist.

The patch there is ok as a local workaround, I think, but maybe not appropriate
for the package, I'd guess either creating /var/run/mythtv-status.motd and
having a snippet produce that or just having a snippet produce the desired
content on the fly would be better.

Thanks,
Ian.

[0] http://lists.mythtv.org/pipermail/mythtv-users/2018-June/396660.html

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 4.16.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mythtv-status depends on:
ii  debconf [debconf-2.0]  1.5.66
ii  libconfig-auto-perl    0.44-1
ii  libdate-manip-perl     6.71-1
ii  libmime-tools-perl     5.509-1
ii  libsys-sigaction-perl  0.23-1
ii  libwww-perl            6.33-1
ii  libxml-libxml-perl     2.0128+dfsg-5
ii  lsb-base               9.20170808
ii  perl                   5.26.2-5

Versions of packages mythtv-status recommends:
ii  libmythtv-perl    29.1+fixes20180603.git1777cc4425-dmo1
ii  libnet-upnp-perl  1.4.3-1

Versions of packages mythtv-status suggests:
pn  molly-guard  <none>

-- debconf information:
* mythtv-status/email: none
* mythtv-status/host: localhost
* mythtv-status/enable: true



Information forwarded to debian-bugs-dist@lists.debian.org, Andrew Ruthven <andrew@etc.gen.nz>:
Bug#902684; Package mythtv-status. (Fri, 29 Jun 2018 16:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ian Campbell <ijc@debian.org>:
Extra info received and forwarded to list. Copy sent to Andrew Ruthven <andrew@etc.gen.nz>. (Fri, 29 Jun 2018 16:36:04 GMT) (full text, mbox, link).


Message #10 received at 902684@bugs.debian.org (full text, mbox, reply):

From: Ian Campbell <ijc@debian.org>
To: 902684@bugs.debian.org
Subject: Re: mythtv-status: motd functionality not working correctly
Date: Fri, 29 Jun 2018 17:33:58 +0100
On Fri, 2018-06-29 at 16:27 +0100, Ian Campbell wrote:
> The patch there is ok as a local workaround, I think, but maybe not appropriate
> for the package, I'd guess either creating /var/run/mythtv-status.motd and
> having a snippet produce that or just having a snippet produce the desired
> content on the fly would be better.

Perhaps something like this which just came in is helpful:

http://lists.mythtv.org/pipermail/mythtv-users/2018-June/396661.html

Ian.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#902684; Package mythtv-status. (Mon, 12 Nov 2018 12:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Ruthven <andrew@etc.gen.nz>:
Extra info received and forwarded to list. (Mon, 12 Nov 2018 12:09:03 GMT) (full text, mbox, link).


Message #15 received at 902684@bugs.debian.org (full text, mbox, reply):

From: Andrew Ruthven <andrew@etc.gen.nz>
To: Ian Campbell <ijc@hellion.org.uk>, 902684@bugs.debian.org
Subject: Re: Bug#902684: mythtv-status: motd functionality not working correctly
Date: Tue, 13 Nov 2018 00:59:06 +1300
Hey,

Thanks Ian. Funnily enough, back when I first wrote mythtv-status I had
it generated the motd file on the fly in /etc/update-motd.d, but that
slowed logging in far too much. I'm still wary about doing that as
we're putting in a dependency on the performance of a potentially
remote machine, which might be off.

I think I'll go down the path of generating /var/run/mythtv-status.motd 
(or similar) and then having a snippet cat that file.

Cheers,
Andrew

On Fri, 2018-06-29 at 16:27 +0100, Ian Campbell wrote:
> Package: mythtv-status
> Version: 0.10.8-1
> Severity: normal
> 
> Hello,
> 
> I just installed this package and the motd updating functionality is
> not
> working. I can see that it is correctly populating
> /var/run/motd.dynamic but
> that is not being incorporated into the actual motd (wherever that
> is/however
> that happens).
> 
> In a mail to mythtv-user[0] another user noticed that apparently it
> is now
> necessary (on Ubuntu) to create a snippet in /etc/update-motd.d. I've
> not tried
> this on my Debian system yet, but I note that the directory does
> exist.
> 
> The patch there is ok as a local workaround, I think, but maybe not
> appropriate
> for the package, I'd guess either creating /var/run/mythtv-
> status.motd and
> having a snippet produce that or just having a snippet produce the
> desired
> content on the fly would be better.
> 
> Thanks,
> Ian.
> 
> [0] http://lists.mythtv.org/pipermail/mythtv-users/2018-June/396660.h
> tml
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
> Architecture: i386 (i686)
> Foreign Architectures: amd64
> 
> Kernel: Linux 4.16.0-2-686-pae (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> Init: sysvinit (via /sbin/init)
> LSM: AppArmor: enabled
> 
> Versions of packages mythtv-status depends on:
> ii  debconf [debconf-2.0]  1.5.66
> ii  libconfig-auto-perl    0.44-1
> ii  libdate-manip-perl     6.71-1
> ii  libmime-tools-perl     5.509-1
> ii  libsys-sigaction-perl  0.23-1
> ii  libwww-perl            6.33-1
> ii  libxml-libxml-perl     2.0128+dfsg-5
> ii  lsb-base               9.20170808
> ii  perl                   5.26.2-5
> 
> Versions of packages mythtv-status recommends:
> ii  libmythtv-perl    29.1+fixes20180603.git1777cc4425-dmo1
> ii  libnet-upnp-perl  1.4.3-1
> 
> Versions of packages mythtv-status suggests:
> pn  molly-guard  <none>
> 
> -- debconf information:
> * mythtv-status/email: none
> * mythtv-status/host: localhost
> * mythtv-status/enable: true
> 
-- 
Andrew Ruthven, Wellington, New Zealand
andrew@etc.gen.nz              | linux.conf.au 2019, Christchurch, NZ
Catalyst Cloud:                |    https://lca2019.linux.org.au/
   https://catalystcloud.nz    |



Reply sent to Andrew Ruthven <andrew@etc.gen.nz>:
You have taken responsibility. (Mon, 14 Jan 2019 12:54:09 GMT) (full text, mbox, link).


Notification sent to "Ian Campbell" <ijc@hellion.org.uk>:
Bug acknowledged by developer. (Mon, 14 Jan 2019 12:54:09 GMT) (full text, mbox, link).


Message #20 received at 902684-close@bugs.debian.org (full text, mbox, reply):

From: Andrew Ruthven <andrew@etc.gen.nz>
To: 902684-close@bugs.debian.org
Subject: Bug#902684: fixed in mythtv-status 1.0.0-1
Date: Mon, 14 Jan 2019 12:52:18 +0000
Source: mythtv-status
Source-Version: 1.0.0-1

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 902684@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Ruthven <andrew@etc.gen.nz> (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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Jan 2019 00:10:52 +1300
Source: mythtv-status
Binary: mythtv-status
Architecture: source all
Version: 1.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Andrew Ruthven <andrew@etc.gen.nz>
Changed-By: Andrew Ruthven <andrew@etc.gen.nz>
Description:
 mythtv-status - Show the status of a MythTV backend
Closes: 772801 853857 902684
Changes:
 mythtv-status (1.0.0-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #853857).
   * Install a snippet into /etc/update-motd.d (Closes: #902684).
   * Update standards version to 4.3.0.
   * Ship a systemd service file (Closes: #772801)
   * Rename RUN and ARGS in /etc/default/mythtv-status to be more
     specific, since this file is used by a couple of different scripts.
   * Switch from /var/run to /run.
Checksums-Sha1:
 1dabd2b40c7356a8d153b1ac5a39162d3b4f3af9 1920 mythtv-status_1.0.0-1.dsc
 e71697815d822d4789f6bafb4cf8a7f2f7aa737c 45767 mythtv-status_1.0.0.orig.tar.gz
 c6090653a2dca8bbe47577db188e9d9a74c5aa7b 18888 mythtv-status_1.0.0-1.debian.tar.xz
 849cf49ad29f059e2eb172c02fbce55eccaaec53 41520 mythtv-status_1.0.0-1_all.deb
 4e2ed67a345e21490b34915c2a1b43bde090be8f 5535 mythtv-status_1.0.0-1_amd64.buildinfo
Checksums-Sha256:
 9c188fb9904790c40a50709c147e49217b2c4b511e7d6653ca26686b7e0bb1d7 1920 mythtv-status_1.0.0-1.dsc
 eca310af00216b556ec13f3202557b05872071927a67e9108da67eaf7b020976 45767 mythtv-status_1.0.0.orig.tar.gz
 5c7327bf151daa430f286b639f0f2d10f42c008708981d1e42437090672bf7b3 18888 mythtv-status_1.0.0-1.debian.tar.xz
 aa1149667c34e51dc6bfa66d6dc179fc9abc0746aa4cc9fcbda160a354b5500d 41520 mythtv-status_1.0.0-1_all.deb
 c9ef28ef3efbff91b4377191bba787966ae479dc54a4b8742ec1d8f549b24757 5535 mythtv-status_1.0.0-1_amd64.buildinfo
Files:
 54cf6a74d0937641989bf8cb811b95fb 1920 misc optional mythtv-status_1.0.0-1.dsc
 137ae016100b476464370ffe99e78a48 45767 misc optional mythtv-status_1.0.0.orig.tar.gz
 74f408885b9b32ea4c407fff8be70f43 18888 misc optional mythtv-status_1.0.0-1.debian.tar.xz
 7d445c3277b890fe4fcfa7736eda798a 41520 misc optional mythtv-status_1.0.0-1_all.deb
 414eb763a1913eba2c013ca33725c9d2 5535 misc optional mythtv-status_1.0.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEExgP8TmAPHOzRyNl8S1PZMeTT6GMFAlw8fBMACgkQS1PZMeTT
6GNp6BAAjy2B1no5pVVwAJBIEbqMBdfCwyXA171H85gEVcdHkrLCJ5unL6rmrXy8
Xy6fcA6c77GrDNizNrB1AN6DfvpulW3yE9Qr0OUKdCscZg0yKEuiWhfNh/MiZ3PA
/WRD6HMB/iasrBJs7CZizAkSfKXFZQq6j7/NMZO4j8UtKMF6G6KZYqa3XJfyzmph
voyZdOxPNYlqvt/MHlgjGoPnPuTM0ZLc7jWeZUSfHw8YqIlGBUZhNLmH3C74Aqxl
FjgdnyO7MmDedYLDgQoly9aKHqYk0ao0ciyagpRxQsuMcqFe6AlxlnDRunEj/x+Z
J7zObqcF8u4m99AiNKRRHH4gn9r6Sc3TWNQ0AUQS4ybRyTetHnQobfuwLENH/0kP
a/pHqYkuA9pCK2EKD31h0J4kIYRR4IWrwh41Y8ymlCW+KvUSHBp1Rg7B307gQsve
wIA6gPAzGaRKlXoy0Qd0U7aND1BDQ5fzNjln1a9DxAmuy23zPiAsLIN6gp+5G/ng
ykJZ4ifYfEDqWEuW0eosZRSTCIKt8sbF7YXKUgASfuvo9NbaXcQD2MSOe6W/oHwe
SqzSohCl8DKumGF+uyHXMXSHyZBDOjsMPwJyfST5g99rlyGHeG6gmO8uUpNolfYo
vweW409yaB+6Mql3rpYVVRGL4G+g5RCqIU09R5125wnxVW9tXX0=
=rbys
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 16 Feb 2019 07:36:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 20 19:34:04 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.