Re: Please test new MythTV in unstable

Page principale

Répondre à ce message
Auteur: Ian Campbell
Date:  
À: dmo-discussion
Sujet: Re: Please test new MythTV in unstable
On Fri, 2017-09-22 at 14:37 +0200, Christian Marillat wrote:
> People can test mythtv 29+fixes20170922.git50afc013ca-dmo1 with the
> ttvdb fix ?


I'm not sure if this is new with this release but I've only just
started noticing it. After upgrade my /var/log/mythtv is gone:
    $ sudo ls -l /proc/$(pidof rsyslogd)/fd
    total 0
    lrwx------ 1 root root 64 Sep 27 09:40 0 -> socket:[13162]
    lrwx------ 1 root root 64 Sep 27 09:40 1 -> socket:[13234]
    l-wx------ 1 root root 64 Sep 27 09:40 10 -> /var/log/mythtv/mythfrontend.log (deleted)
    l-wx------ 1 root root 64 Sep 27 09:40 11 -> /var/log/mail.log
    l-wx------ 1 root root 64 Sep 27 09:40 12 -> /var/log/mail.info
    l-wx------ 1 root root 64 Sep 27 09:40 2 -> /var/log/syslog
    lr-x------ 1 root root 64 Sep 27 09:40 3 -> /proc/kmsg
    l-wx------ 1 root root 64 Sep 27 09:40 4 -> /var/log/messages
    l-wx------ 1 root root 64 Sep 27 09:40 5 -> /var/log/auth.log
    l-wx------ 1 root root 64 Sep 27 09:40 6 -> /var/log/daemon.log
    l-wx------ 1 root root 64 Sep 27 09:40 7 -> /var/log/mythtv/mythfilldatabase.log (deleted)
    l-wx------ 1 root root 64 Sep 27 09:40 8 -> /var/log/mythtv/mythbackend.log (deleted)
    l-wx------ 1 root root 64 Sep 27 09:40 9 -> /var/log/mythtv/mythmetadatalookup.log (deleted)


I suppose due to this from mythtv-common.postinst:
        if [ -d /var/log/mythtv ]; then
            rm -rf /var/log/mythtv
        fi


I can get it back by restarting rsyslog and all the myth components,
but I lose all my historical logs.

I'm using `--syslog local6` for my mythtv stuff which I think is a
deviation from the package.

I have a /etc/rsyslog.d/mythtv-backend.conf from mythtv-backend which
is mapping to this subdir.

I'm not sure what the intended logging structure is for the package,
perhaps I have broken it with my local changes, but I quite like the
split out by command way of logging.

Ian.