[mythtv-users] Is there an approved may to remove frontend settings?

Mike Perkins mikep at randomtraveller.org.uk
Sun Feb 2 17:09:28 UTC 2014


On 02/02/14 16:19, Raymond Wagner wrote:
> On 2/2/2014 7:18 AM, Anthony Giggins wrote:
>> is there an approved way to remove old frontend hostnames from the database?
>
> Is there a reason to do so? All those old machine profiles are consuming a
> trivial amount of space compared to the seek tables and guide data. The only
> harm in keeping them around that I know of is the remote control in Mythweb that
> attempts to connect to each frontend control socket you have defined in the
> database.
>
Whenever this question is asked, the answer is always in terms of the space 
used. That is almost always /never/ why the question is asked. More like, it is 
an attempt by the user to clean out the table(s) so that fault finding becomes 
less of an exercise in hacking one's way through a jungle.

Over the lifetime of a system like mine[1] the settings table gets filled with 
various test systems, retired hosts and rebuilds where the hostname suddenly 
changes from a single name to fully qualified domain name - or vice versa.

Sometimes, when faced with two similar sets of settings, it isn't clear which 
one is being referenced. Hence the wish for a clear-out.

[1] I have only ever had one backend running, but that never stopped the OS from 
changing the hostname values on occasion. There have been any number of 
frontends from time to time.

My policy now is to /always/ use a 'yourhostnamehere' value in config.xml. That 
way I get to tell the system what to call each host, not the OS.

-- 

Mike Perkins



More information about the mythtv-users mailing list