[mythtv] Ticket #8215: MythWeb hostname/setting hostname comparison is not case-insensitive

Daniel Kristjansson danielk at cuymedia.net
Sun Jun 13 15:55:57 UTC 2010


On Sat, 2010-06-12 at 22:04 -0700, Jeremy Palenchar wrote:
> After the partial restore, you need to reconfigure /everything/ in
> mythtv-setup and mythfrontend settings for every single host in your system
> (because all you will have kept is the recordings, recording rules, and
> recording history data).
> 
> That seems like it could be a painful process and could end up with the user
> in a worse situation than when they started if they can't remember how the
> system was configured.
> 
> What about taking the configuration data and serializing it down to a file
> that could then be deserialized and committed back to the new database once
> it has been rebuilt?

Usually when a partial restore is necessary the assumption is that the
configuration is bad in some way. Doing a full reconfiguration assures
that the configuration returns to a valid state. Reconfiguring is in
this case less time-consuming than figuring out exactly what is wrong
with the schema and fixing it. Michael has already put in fixes for
the more common problems in schema upgrade procedure in MythTV, so if
those have failed to rectify the problem it's probably relatively
uncommon one.

Often bad configs are a result of doing something the install
instructions say not to do, or common sense tells you not to do.
Now I really don't care if an end user does something silly to
their own system, it's a free world after all, but the upside is
that the end user is often cagey about what exactly they've done
because they fear they will not get any help if they admit to not
following the instructions or doing something silly like "optimise"
field length to be less wide than the data being saved to it.
This makes helping them pretty much impossible, even if the
instructions might be simple if you knew exactly how the
corruption occurred. The general assumption is that if a user has
a broken schema they either did something silly and possibly forgot
about it, or they are using Gentoo and only Odin can help them.

-- Daniel



More information about the mythtv-dev mailing list