Re: MythTV 31 in experimental

Top Page

Reply to this message
Author: Ian Campbell
Date:  
To: dmo-discussion
Subject: Re: MythTV 31 in experimental
On Thu, 2020-02-27 at 16:59 +0100, Christian Marillat wrote:
>
> Maybe a bad idea to test with your main MythTV machine.


I also only have a single production system so I won't try that just
yet ;-)

However, I do have a docker stack based dev setup which I use for
testing stuff I contribute to upstream, I'm in the middle of hacking it
about to use your packages instead. I'm using the buster packages at
first but will simulate an upgrade once I have that working. It won't
be a terribly realistic test since it's not a system which has been
used and configured but should provide some basic smoke testing at
least.

One thing I've noticed so far with the existing buster packages is that
installing mythtv-common creates the mythtv user with homedir
/var/lib/mythtv and populates /var/lib/mythtv/.mythtv with the correct
mythtv:mythtv permissions, however /var/lib/mythtv itself is left as
root:root:

   12 [base-env 9/17] RUN set -x ; whoami && grep mythtv /etc/passwd && ls -ld...
   #12 0.581 + whoami
   #12 0.582 root
   #12 0.582 + grep mythtv /etc/passwd
   #12 0.582 mythtv:x:999:999::/var/lib/mythtv:/bin/sh
   #12 0.582 + ls -ld /var/lib/mythtv
   #12 0.583 drwxr-xr-x 3 root root 4096 Feb 29 02:18 /var/lib/mythtv
   #12 0.583 + ls -laRt /var/lib/mythtv
   #12 0.584 /var/lib/mythtv:
   #12 0.584 total 16
   #12 0.584 drwxr-xr-x 3 root   root   4096 Feb 29 02:18 .
   #12 0.584 drwxr-xr-x 1 root   root   4096 Feb 29 02:18 ..
   #12 0.584 drwxr-xr-x 2 mythtv mythtv 4096 Feb 29 02:18 .mythtv
   #12 0.584 
   #12 0.584 /var/lib/mythtv/.mythtv:
   #12 0.584 total 8
   #12 0.584 drwxr-xr-x 2 mythtv mythtv 4096 Feb 29 02:18 .
   #12 0.584 drwxr-xr-x 3 root   root   4096 Feb 29 02:18 ..
   #12 0.584 lrwxrwxrwx 1 root   root     22 Feb 29 02:18 config.xml -> /etc/mythtv/config.xml
   #12 DONE 0.7s


Not sure if this would be deliberate or not...

Also just spotted looking above that the config.xml link is root owned too.

I'll let you know how the upgrade the the experimental packages go,
although I'm away this weekend so it might be next week.

Ian.