[TriLUG] Local Time Zone won't get off UTC

Alan Porter porter at trilug.org
Mon Mar 21 14:10:59 EST 2005


Randall Barlow wrote:
> Check in you /etc/rc.conf file.  There should be a setting about this in 
> there.  It's probably set to UTC when it should be set to "local".  HTH!

 From "man tzsetup":

   The Debian GNU/Linux system gains its knowledge of this setting from the
   file /etc/default/rcS.  This file  contains  either  the  line  UTC=yes,
   which  indicates  that  the hardware clock is set to UTC, or it contains
   the line UTC=no, which declares the hardware clock is set to Local Time.
   If  these  setting  are correct, and the hardware clock is truely set as
   indicated, then configuring the proper timezone  for  the  machine  will
   cause  the  proper  date  and time to be displayed. If these are not set
   correctly, the the reported time will be quite incorrect. See hwclock(8)
   for more details on this topic.

So on your Debian system, you need to look at /etc/default/rcS and not
/etc/rc.conf.


Alan





More information about the TriLUG mailing list