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

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


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

Comment(by erikos):

 Replying to [comment:8 cscott]:
 > My testing with joyride seems to indicate that 'sugar-control-panel -s
 timezone' doesn't work.  Running it in a terminal, it complains,
 "Permission denied.  You need to be root to run this method."  When I "su
 -" to root, I get a traceback: "RuntimeError: The SUGAR_PATH environment
 variable is not set".  So I couldn't confirm that tzdata-update is
 actually being called after we write to /etc/sysconfig/clock.  Properly
 setting the timezone is, I believe, an update.1 item.
 >

 use su only. su - changes the environment.

 > Additional issues uncovered: 1) No way to know what the valid time zones
 are.  2) My clock was incorrectly set and I saw no obvious way to reset
 it. 3) Although MP machines are supposed to have clocks set to GMT,
 anecdotal reports have been that they are set to China time instead.  Can
 we workaround this, to minimize the necessity for (2)?

 Well we need to set the correct time first since timezone is an offset
 only. if people have network connection they can use rdate to get the
 clock correct.

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



More information about the Bugs mailing list