[mythtv] Ticket #4109: LocalHostName should not default to "my-unique-identifier-goes-here"

Janne Grunau janne-mythtv at grunau.be
Sun Oct 28 15:18:13 UTC 2007


On Sunday 28 October 2007 15:11:39 Daniel Burr wrote:
> 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.

Just let LocalHostName commented in mysql.txt. It will use the machine's 
hostname.

Janne


More information about the mythtv-dev mailing list