[mythtv] Ticket #4109: LocalHostName should not default to "my-unique-identifier-goes-here"
dburr at virginbroadband.com.au
Sun Oct 28 14:11:39 UTC 2007
On Sun, 2007-10-28 at 09:55 +0000, MythTV wrote:
> This breaks backwards compatibility because if somebody updates mythtv
> without adding a value for LocalHostName to their FE and BE configurations
> then they will both break: the BE will refuse to start because there is no
> BackendServerIP corresponding to the hostname "my-unique-identifier-goes-
> here" and the FE will write duplicate entries to the mythconverg.settings
> table with the hostname column set to "my-unique-identifier-goes-here".
There is another case where this causes problems: if the backend(s) and
frontend(s) share a common mythtv user with a common NFS mounted home
directory then it is no longer possible to share a single
~/.mythtv/mysql.txt to configure them all because they all require
different values for LocalHostName. Using the host name as the default
value causes everything to work smoothly again.
More information about the mythtv-dev