[mythtv] [mythtv-commits] Ticket #5791: Allow time zone ID's whose to differ by space/underscore

Simon Kenyon simon at koala.ie
Thu Oct 9 07:26:22 UTC 2008


On Wed, 2008-10-08 at 19:15 -0400, Michael T. Dean wrote:

> /etc/timezone is used on Debian-based systems (and they're the only ones 
> I know of that use it).  It should be a text file that contains a single 
> line with the name of the file (relative to the top directory of the 
> zoneinfo database) with the name of the file used to set the time zone 
> rules.  I.e. in your case, it should contain "Eire".
> 
> /etc/sysconfig/clock on a Red Hat-based system should contain a line:
> ZONE=Eire
> 
> However, the code we have would prevent /etc/sysconfig/clock from being 
> interpreted if it's a binary file, so as Janne indicated, it seems you 
> have an invalid (from the Debian perspective) /etc/timezone.  I think 
> Janne is currently working on adding code to ignore invalid /etc/timezone.

as they say "close, but no cigar"

google tells me that /etc/timezone can also be a link to a file
in /usr/share/zoneinfo on debian
--
simon



More information about the mythtv-dev mailing list