#4959 NORM Retriag: Timezone should come from /etc/sysconfig/clock

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 19 13:35:26 EST 2007


#4959: Timezone should come from /etc/sysconfig/clock
---------------------+------------------------------------------------------
  Reporter:  cscott  |       Owner:  cscott           
      Type:  defect  |      Status:  new              
  Priority:  normal  |   Milestone:  Retriage, Please!
 Component:  sugar   |     Version:                   
Resolution:          |    Keywords:                   
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by cscott):

 tzdata-update is a terrifying piece of code! http://pastebin.ca/823971
 from glibc-20070515T2025/fedora/tzdata-update.c

 Nonetheless, it doesn't seem to be doing anything too fancy: it updates
 /var/spool/postfix/etc/localtime as well as /etc/localtime, takes care not
 to write to the file unless the time zone really as changed, and contains
 a lot of crap which looks to be present solely to avoid any dependency on
 glibc.

 So I think it's perfectly safe to *not* use this monstrosity, and write
 /etc/localtime on our own.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4959#comment:11>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list