[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trouble with hwclock set at local time



On Fri, Jan 13, 2006 at 08:46:39AM +0100, thierry wrote:
> Fran?ois Duranleau wrote:
> 
> >Hi!
> >
> >Since a recent update to all my computers at home (one laptop and two 
> >desktops, all running Debian/testing among other OSes) some time last 
> >weekend, I am having trouble with clock settings (I didn't directly 
> >change anything, or least nothing that I was aware of consciously 
> >doing). On each boot, the system clock always gets initialized as if 
> >the hwclock was set to UTC, although all configuration files I can 
> >think of tell it should be in local time. On one desktop, I can (and 
> >did) change the hwclock to UTC, and it solves the problem, of course, 
> >but the other two computers are dual boot with M$ Tax Windoze XP 
> >(laptop) and Windoze 2000 (the other desktop). If I set the hwclock to 
> >UTC in order to avoid trouble with the file system check on startup 
> >(it complains the date on the filesystem is in the future), Windoze 
> >shows a time with an extra 5 hours (my local time is Eastern/Canada) 
> >(at least for Windoze 2000, I didn't try with XP yet).
> >
> >Here is the content of /etc/default/rcS:
> >
> >#
> >#       Defaults for the boot scripts in /etc/rcS.d
> >#
> >
> ># Time files in /tmp are kept in days.
> >TMPTIME=0
> ># Set to yes if you want sulogin to be spawned on bootup
> >SULOGIN=no
> ># Set to no if you want to be able to login over telnet/rlogin
> ># before system startup is complete (as soon as inetd is started)
> >DELAYLOGIN=yes
> ># Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if 
> >not.
> >UTC=no
> ># Set VERBOSE to "no" if you would like a more quiet bootup.
> >VERBOSE=yes
> ># Set EDITMOTD to "no" if you don't want /etc/motd to be editted 
> >automatically
> >EDITMOTD=yes
> ># Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
> >FSCKFIX=no
> >
> >
> >As I mentioned, if I change UTC=no to UTC=yes, everything goes well, 
> >except for the extra hours in Windoze. I searched a lot on google, and 
> >I didn't find any good solution or explanation. I am not so familiar 
> >with the details time setting, so I come here to ask for help. Was 
> >there something wrong with my configuration prior to upgrading that 
> >showed up after? I don't really remember all the questions the 
> >installer asked me about time settings when I installed the systems 
> >(the most recent installation is last summer on the laptop, the other 
> >two about two years ago), and what I answered, but up till now, I 
> >never had any trouble with time.
> >
> >Thanks for any help.
> >
> Hi,
> I think that, if you run base-config, you should be able to tell Debian 
> to use local time.
This is probably the 3 merged RC bugs at
  http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=util-linux

-- 
Clear skies,
Justin



Reply to: