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
and...@etc.gen.nz              | linux.conf.au 2019, Christchurch, NZ
Catalyst Cloud:                |    https://lca2019.linux.org.au/
   https://catalystcloud.nz    |

Reply via email to