[mythtv-users] Centos 7 and mythtv

Mike Perkins mikep at randomtraveller.org.uk
Sat Aug 20 13:45:33 UTC 2016


On 20/08/16 13:21, Rob Verduijn wrote:
>
> Hi,
>
> I've also been running mythtv on centos 7 for some time now.
> When 0.28 was released I was a bit miffed because there was no repo that
> contained the rpm's available.
> Also the qt5 requirement was a bit of a challenge.
>
> I solved it by installing mythtv into a fedora 28 docker container on the
> centos 7.2 host.
>
> This solved a lot of problems for me.
> * quite a lot of rpms that in my view should not be instaled on a server
> have been removed since they are installed in the container (cleaner server
> config)
> * it's now in an isolated container again which makes a far better security
> solution than running it directly on a server backend
> * it's a lot easier to allow a container access to a pci-card then to share
> it via passthrough to a vm ( most pci cards can't deal with this including
> mine)
> * Rebuilding a docker container with a docker file when there are updates
> is really easy.
> * the mariadb runs in a dedicated mariadb container.
> * cronjobs are started on the centos host with the 'container exec' command
> which runs them as the mythuser in the mythtvbackend container.
>
> There are also drawbacks.
> * running mythtv setup is a pain but not impossible (I created a dedicated
> container for this that I only build when needed which is almost never)
> * database schema updates are a challenge too (waiting for lock ends with a
> fail),
>   for now I did a temporary mariadb install on my frontend to deal with
> this (import old db from backend, upgrade, export new db to backend)
>   I removed it once this was done. I'm still pondering what the best
> solution is for this (I'm tinking of merging it with the mythsetup
> container)
> * it creates a rather large container
> * I still need to create a container for the mythweb interface
> * Ofcourse this is complete f#@$-up of the container principle, but it
> works for me :-) (and was a nice learing experience)
>
Any chance you can write this up and add it to the wiki? I always thought that containers were 
essentially VMs but from what you say above this isn't exactly so.

Alternative methods for building and/or using a mythtv system are always of interest, especially if 
it can lead to more efficient use of hardware.

-- 

Mike Perkins



More information about the mythtv-users mailing list