[mythtv-users] [mythtv-commits] Ticket #7542: mythtv-setup should not use LocalHostName

Brian J. Murrell brian at interlinx.bc.ca
Wed Nov 11 21:07:04 UTC 2009


On Wed, 2009-11-11 at 15:29 -0500, Michael T. Dean wrote: 
> 
> Moving to mythtv-users, then.

OK.

> The LocalHostName in mysql.txt is an override.  If you do not want to 
> override the system hostname, do not set it.  That's why it's shown in 
> the example mysql.txt distributed with mythtv as:
> 
> # Set the following if you want to use something other than the
> # machine's real hostname for identifying settings in the database.
> # This is useful if your hostname changes often, as otherwise
> # you'll need to reconfigure mythtv (or futz with the DB) every time.
> # TWO HOSTS MUST NOT USE THE SAME VALUE
> #
> #LocalHostName=my-unique-identifier-goes-here

Yeah.  I guess the real problem here is that this is a per-machine
configuration item being stored in a per-user location.  Would you
agree?

> It sounds like you just want to use the machine's real hostname.

Probably.  I guess it was my understanding that if this value was not
set, no name would be used when fetching and storing values to the
settings table and and all FEs would use a common set of options --
which for different arrays of FE hardware, is just not viable.

Thus the desire to set a name, per FE.  But really this should be set
for the FE *machine*, not stored in the preferences for the user that
"mostly" uses that machine.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091111/f9554ae6/attachment-0001.pgp>


More information about the mythtv-users mailing list