Hi All
Have a myth backend running on proxmox with 4 usb tuners. Using fire cubes and the lean front end.
Working wonderfully thankyou all
However I prefer the mythtv frontend for navigation but not playback performance so I use the myth frontend for things like tvguide. Would prefer to use it for playback but leanfront works way better
ANyway my problem
I have modified a couple of conf files. 1 being the mysql mythtv conf file to uncomment the bind address. Another to delay mythtv backend starting as the machine starts too fast and the tuners arnt ready.
How do i stop these files being edited by updates?
Thankyou
apt upgrades changes conf files
-
- Junior
- Posts: 35
- Joined: Fri Jan 06, 2017 12:22 am
Re: apt upgrades changes conf files
I don't speak Proxmox, so don't know where it gets packages.
But, if the MySQL file is something like: /etc/mysql/mysql.conf.d/mythtv.cnf, then
you could always copy it to /etc/mysql/mysql.conf.d/zmythtv.cnf and that wouldn't
be touched (and it would be loaded after the 'normal' mythtv.cnf file.)
The *buntu packages look for the regular expression starting with: ^bind-address=0.0.0.0
and should leave it alone.
You don't mention where the delay happens. If we're talking about systemd, then the change
should be in an override directory: /etc/systemd/system/mythtv-backend.service.d/override.conf
Mine looks like this, and uses a program to see if my HDHR box is up:
Changes in the override directory won't be changed by systemd .service updates.
But, if the MySQL file is something like: /etc/mysql/mysql.conf.d/mythtv.cnf, then
you could always copy it to /etc/mysql/mysql.conf.d/zmythtv.cnf and that wouldn't
be touched (and it would be loaded after the 'normal' mythtv.cnf file.)
The *buntu packages look for the regular expression starting with: ^bind-address=0.0.0.0
and should leave it alone.
You don't mention where the delay happens. If we're talking about systemd, then the change
should be in an override directory: /etc/systemd/system/mythtv-backend.service.d/override.conf
Mine looks like this, and uses a program to see if my HDHR box is up:
Code: Select all
[Service]
ExecStartPre=/usr/local/bin/hdhomerun_check.py
-
- Junior
- Posts: 35
- Joined: Fri Jan 06, 2017 12:22 am
Re: apt upgrades changes conf files
Hi Bill
Thankyou for the reply.
Proxmox isnt really an issue as this problem im having is on the guest machine, ubuntu dekstop dedicated to being a combined myth backend frontend.
I dont use the frontend on this machine its only used to access mythtv setup
However the mysql entry that is changed on updates is this one
and the entry that is changed it adds a # to the bind-address=0.0.0.0
so when it does this i loose access to the database from remote front ends.
re the wait i cant remember which config file i changed i will have to look at that
Thankyou for the reply.
Proxmox isnt really an issue as this problem im having is on the guest machine, ubuntu dekstop dedicated to being a combined myth backend frontend.
I dont use the frontend on this machine its only used to access mythtv setup
However the mysql entry that is changed on updates is this one
Code: Select all
/etc/mysql.conf.d/mythtv.cnf
so when it does this i loose access to the database from remote front ends.
re the wait i cant remember which config file i changed i will have to look at that